Svelte PDF Generation Library
Nutrient Web SDK is a JavaScript library for generating PDF documents in any Svelte-based web app. Newly created PDFs can be rendered in our client-side viewer for signing, editing, form fill, and more.
Nutrient 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
-
Create from template — Insert text or images and prefill forms
-
Generate from images — Convert JPGs, PNGs, or TIFFs into PDF
-
Assemble documents — Merge multiple PDFs and insert pages
-
Thumbnail previews — Render pages as thumbnail images
-
Saving options — To an ArrayBuffer, local storage, or remote server
-
Headless — Generate PDFs without showing the UI
-
Client-side — Create PDFs directly in a browser (no server needed)
-
Extendable — Add viewing, forms, signing, annotation, and more
Guides for PDF generation
Generate a PDF from a PDF template
How to generate a PDF using an existing PDF document as a template
Generate a PDF from a Word template
How to generate a PDF using an existing Word document as a template
Generate a PDF from a form
How to generate a PDF from a PDF form
Generate a PDF from images
How to generate a PDF from a PNG, JPG, or TIFF
Generate PDF reports
How to create a PDF report by adding text and images to a template
Generate thumbnail previews
How to render PDF pages as thumbnail images
FAQ
Here are a few frequently asked questions about PDF generation in Nutrient Web SDK.
Can I create PDFs from existing templates?
Yes, you can generate PDFs from existing PDF or Word templates, including adding text, images, and form data.
How can I convert images into PDFs?
You can convert images such as JPGs, PNGs, or TIFFs into PDFs using the library.
Is it possible to merge multiple PDFs?
Yes, you can merge multiple PDFs and insert pages using Nutrient Web SDK.
Can I save generated PDFs to different storage options?
Yes, you can save PDFs to an ArrayBuffer, local storage, or a remote server.
Can PDFs be generated without displaying a UI?
Yes, you can generate PDFs headlessly without showing any UI elements.