Svelte PDF Editor Library

PSPDFKit for Web is a JavaScript library for editing PDF documents directly in a browser. It is fully compatible with Svelte and offers developers a robust API for programmatic editing, as well as a beautiful UI for performing a host of editing operations in any Svelte-based web app.

Try for Free Launch Demo

PSPDFKit SDKs are deployed in some of the world’s most popular applications, such as those made by Autodesk, Disney, UBS, Dropbox, IBM, and Lufthansa.

Key Capabilities

  • Annotations, forms, bookmarks — Create, edit, or remove

  • Page manipulation — Rotate, merge, split, delete, or add pages

  • Client-side — Edit PDFs directly in the browser (no server needed)

  • Browser support — Works on all modern browsers and devices

  • Headless — Programmatically edit PDFs without the UI

  • Customizable UI — Hide buttons, match your look and feel, and more

  • Extendable — Add forms, signing, annotation, and more

Guides for PDF Editing

Edit Text in PDF Files
Edit text directly in PDF documents

Merge or Combine PDFs
How to merge multiple PDF documents together

Rotate Pages
How to rotate pages by a desired amount

Move or Copy Pages
How to move or copy pages within a PDF document

Remove Pages
How to remove pages from a PDF document

Add a Page
How to add a blank page to a PDF document

Split a PDF
How to split a PDF into two or more documents

Add an Image to a Page
How to add an image to a page as an annotation

Headless Editing
How to edit PDFs without presenting the UI

Edit the Page Label
How to set the label for any page in a PDF document

Built-In Document Editing UI
Learn about the document operations available in the editor UI

Replace Text
How to replace text directly in PDF documents

Free Trial

Start your free trial for unlimited access and expert support.

FAQ

Here are a few frequently asked questions about editing PDFs in PSPDFKit for Web.

What is PSPDFKit for Web?

PSPDFKit for Web is a JavaScript library that enables developers to edit PDF documents directly in the browser.

Can I edit PDFs without using the UI?

Yes, PSPDFKit supports headless editing, allowing you to programmatically edit PDFs without displaying the UI.

What types of PDF edits can I perform?

You can create, edit, or remove annotations, forms, and bookmarks, and manipulate pages (e.g. rotate, merge, split).

Is the UI customizable?

Yes, the UI can be customized to match your app’s look and feel, including hiding specific buttons.

Does PSPDFKit for Web require a server?

No, PSPDFKit can perform all editing operations client side, directly in the browser.