Try the Kernstra PDF viewer and editor with your own PDF.
Drop a file or pick one below. It opens in a new tab, in the real Web SDK, a JavaScript PDF viewer and editor, with its default configuration, and it never leaves your browser.
is ready.
Your browser blocked the new tab. Allow pop-ups for this site and try again.
That file is not a PDF. Drop a .pdf and it opens here.
Or open one of ours
Each one shows something specific.
A new tab, the real viewer, your file.
The build your users would get. Text editing, markup, signing and forms on.
From this page to the new tab inside your browser. Never written to disk, never sent.
Download the edited copy first if you want it. No history, no account.
Everything you just did is three lines away.
The playground is the Web SDK with its defaults. Install it, pass a key, and open a document.
One package, TypeScript types included, ES2022.
npm install @kernstra/pdf-web-sdkDevelopment keys are free and work on localhost for as long as you like.
await Kernstra.init({ license: 'krn_dev_…' });The defaults are what the playground runs. Pass a config object to change them.
new PDFViewer(container, doc);Before you drop something confidential
Can I use a real, confidential file?
Yes. The file is handed to the new tab inside your browser and rendered from memory. It is not uploaded, cached, or logged. Close the tab and it is gone. The security page shows the one request the viewer makes.
Why does the playground open the PDF in a new tab?
The viewer gets the whole window and this page stays light. The two tabs talk only inside your browser, and closing the viewer tab leaves nothing behind.
Is there a file size limit in the playground?
No. A file you drop is read from your disk, so there is nothing to download, and only the pages on screen are drawn. A 107 MB scanned file opens in under a second on a laptop.
Can I open a password-protected PDF?
Yes. You will be asked for the password in the viewer. It is used in memory to open the file and never stored.
Does it work on a phone?
Yes. Open this page on your phone and drop a file from Files or Drive; the viewer opens in a new tab there too. The toolbar folds into a bottom bar and text editing works with touch.