Spire.PDF for JavaScript
- Overview
Spire.PDF for JavaScript is a leading PDF API that allows developers to easily create, read, edit, and convert PDFs. Using this JavaScript PDF component, developers can easily implement advanced features to create PDF files from scratch or fully process existing PDF documents within their JavaScript applications.
This versatile JavaScript library offers a wide range of features, including security settings, text/image extraction, PDF merging/splitting, drawing text/image/shape/barcodes, creating and filling in form fields, adding and deleting layers, overlaying PDFs, inserting watermarks (text/image), managing bookmarks, adding tables, adding annotations, and compressing PDF documents, among others.
Spire.PDF for JavaScript can be used for converting PDF to Word Doc/Docx, Excel, PowerPoint, Images (JPG, PNG, SVG, TIFF), HTML, Markdown, XPS, PCL, PostScript PDF/A, etc. It also supports converting Text, images, TIFF, XPS, SVG, and HTML to PDF in high quality.
-
Convert
-
Compress
-
Extract
-
Protect
-
eSign
-
Chart
-
Watermark
-
Merge
-
Layers
-
Size
Convert PDF to Word
PDF is considered an ideal file format for document sharing and printing, but it is difficult to edit. If you want to modify the text in a PDF file, you can convert it to Word.

Compress PDF
Compressing PDFs can reduce their size by 10 to 100 times, thus saving you a lot of storage space and making PDF documents easier to transfer over the Internet.

Extract Text and Images
When you just need to get the information in a PDF document regardless of its format and structure, you can simply extract the text and images from the document.

PDF Encryption
PDF encryption is a crucial task when it comes to sharing confidential documents on the Internet. Using Spire.PDF, you can set a password to restrict access to your PDF file, or set permissions to define what actions users can perform on the document.

Digitally Sign PDF
A digital signature provides assurances about the validity and authenticity of your PDF documents. Once a PDF document is digitally signed, any changes to the document will invalidate the signature.

Create a Form
Form fields make it easier to collect information. Users can enter information by choosing an item from a drop-down list, inserting text in a combo box, or checking a check box.

Add a Watermark to PDF
Watermarks in PDFs serve many important purposes, such as identifying the document's owner, indicating its status and preventing unauthorized copying and distribution.

Merge and Split PDF
Sometimes, you might need to merge multiple PDF files into one in order to store and review them easier. Likewise, you may also want to split a PDF file into individual files and share them with others separately.

Add Layers to PDF
PDF layer is an interactive feature for PDF documents that allows some part of the content to be made visible or hidden. Layers are used for items such as CAD drawings, layered artwork, maps, and multi-language documents.

Change PDF Page Size
By adjusting the page size of a PDF document, you can easily get a better document appearance or make the page size match the printing paper.


JAVASCRIPT
A completely independent JavaScript PDF library
It does not require Adobe Acrobat or any other 3rd party software/library installed on the system.

VERSION
- PDF 1.2 to PDF 1.7
- PDF/A1
- PDF/A2
- PDF/A3
- PDF/A - 1b
- PDF/UA
- PDF/x1a
FONT
- 14 Core Fonts
- Type 1 Fonts
- True Type Fonts
- CJK Fonts
- Type 3 Fonts
- Unicode Support
-
Create, get and verify,
remove digital signature -
Encrypt and Decrypt
PDF file -
Image and Shape
-
Create & Fill Form Field
-
Merge and Split PDF document
-
Manage attachment
-
Manage bookmark
-
Manage annotation
-
Text & image watermark
-
Find & Highlight
-
Insert Hyperlink
-
Compress PDF
-
Extract text and image
-
Header and Footer
-
Create & Format Table
-
Tagged PDF
CONVERSION
Read More ConversionConvert File Documents with High Quality




MAIN FUNCTION

Independent Spire.PDF for JavaScript
No Adobe Acrobat Needed

Powerful Features to Simplify PDF Manipulation
Spire.PDF for JavaScript simplifies PDF manipulation with powerful features. You can create text, images, tables, barcodes, and shapes, extract content, and manage form fields. The library also supports adding watermarks, bookmarks, hyperlinks, annotations, and attachments, as well as stamping PDFs with text or images.
Rich Document Settings Features
With Spire.PDF for JavaScript, you can easily manage document information, including setting document properties and viewer preferences such as the zoom factor. The library also allows you to count the number of pages, modify page size, retrieve page dimensions, and adjust the orientation and rotation of the PDF.
High-Quality PDF File Conversion
Spire.PDF for JavaScript offers a simple solution for converting PDFs to various formats, including Word (DOC/DOCX), Excel, PowerPoint, HTML, Images (JPG, PNG, SVG, TIFF), XPS, PostScript, PDF/A, etc. Additionally, it supports high-quality conversion from HTML, Images, Text, XPS, and SVG to PDF.
Multiple Security Features for PDFs
Spire.PDF for JavaScript enables adding and removing digital signatures, verifying and extracting them from PDF documents. It also supports encrypting and decrypting PDFs, setting security permissions, and detecting any changes in signed PDF files.
Easy Integration
Spire.PDF for JavaScript can be easily integrated into JavaScript applications.Frameworks




GET STARTED
Free Trials for All Advanced Solutions