Product
Open, view and annotate PDF files in your mobile or desktop browser using JavaScript. No plug-ins required and native-level performance, regardless of device.

Take a look at who uses our technology.
The best tools for developers
Foxit PDF SDK for Web is a JavaScript-based PDF solution built to run in both desktop and server environments, both 32-bit and 64-bit.
// Set new PDF metadata
var title = "newPDF";
var author = "current user";
var pageSize = {height:842, width:595};
// Instantiate PDF Viewer object
var PDFViewer = await pdfui.getPDFViewer();
// Create new PDF
var PDFDoc = await PDFViewer.createNewDoc(title, author, pageSize);
// Get first page
var PDFpage = await PDFDoc.getPageByIndex(0);
// Create form fields
var FieldTypes = PDFViewCtrl.PDF.form.constant.Field_Type;
var formfiledsJson = [{
pageIndex: 0, fieldName: 'Surname', fieldType: FieldTypes.Text, rect: {
left: 50,
right: 100,
top: 650,
bottom: 630,
}
},
{
pageIndex: 0, fieldName: 'Middle Name', fieldType: FieldTypes.Text, rect: {
left: 50,
right: 100,
top: 680,
bottom: 660,
}
},
{
pageIndex: 0, fieldName: 'First Name', fieldType: FieldTypes.Text, rect: {
left: 50,
right: 100,
top: 710,
bottom: 690,
}
}];
// Load PDF Form
var PDFForm = await PDFDoc.loadPDFForm()
PDFDoc.getPDFForm();
// Add form fields to page programmatically
for(var i=0;i<formfiledsJson.length;i++){
await PDFForm.addControl(formfiledsJson[i].pageIndex, formfiledsJson[i].fieldName, formfiledsJson[i].fieldType, formfiledsJson[i].rect);
var field = PDFForm.getField(formfiledsJson[i].fieldName)
// Set some text for the form fields
field.setValue("This is a text field");
}Developing with Foxit
PDF SDK for Web is built on the most popular web technologies, and requires minimal server-side resources.

Google Chrome

Opera

Microsoft Edge

Mozilla Firefox

Safari
PDF SDK for Web is built on commonly used web technologies to get your programmers up to speed faster, thus reducing time to market.
Some PDF SDKs require to be deployed in a server, severely increasing the cost of use. Foxit PDF SDK for Web operates client-side thus reducing your server hosting costs.
Developers can easily integrate a PDF viewer in a website by referring to Foxit PDF SDK for Web’s resource files and writing a small amount of code to display and edit PDF files, and have a wealth of interfaces to connect users and user data.
The core technology of PDF SDK for Web is based on Foxit's PDF rendering engine, which is trusted by a large number of well-known companies. Foxit’s powerful PDF engine makes document viewing fast and consistent in all platforms.
Give users the ability to fill out digital forms on the go with their device of choice. Apps have never been more productive!
Explore MoreUse ink signatures to let customers sign documents in their digital devices. Sign PDF in web apps easily without needing to print a file to sign again!
Explore MoreOur PDF SDK provides full support for displaying and annotating PDF in web applications with an extensive range of functions for creating, editing or importing/exporting annotations.
Explore MoreOur core API provides for high-fidelity rendering of PDF documents with optimized performance for desktop and mobile platforms.
Explore MoreOur PDF SDK can generate secure PDFs with native encryption and decryption, or integrate with customized DRM or IRM security systems. Our technology integrates with Microsoft RMS.
Explore MoreFast full-text search for any PDF document, language, or encoding type. The SQLite-based full-text search delivers near-instant results, even for repositories on any digital device.
Explore MorePremium extensions

XFA Forms are XML-based forms wrapped inside a PDF. Securely capture, present, move, process, output, update and print information associated with static and dynamic XFA forms. Simplify your data sharing, transportation and availability with XFA.
Explore More
Editing PDF text online is crucial, but many JavaScript-based Web Viewers do not offer this functionality. Foxit's premium text editing feature ensures you can edit & create new text in PDFs with ease.
Try our web demo
Leverage our conversion and verification technology to turn regular PDFs into PDF/A compliant documents. If you are already working with PDF/A in your processes, proactively verify third-party PDFs you receive are PDF/A compliant.
Explore More
Try our SDK for Web in your browser. No download or login required.
Licensing tailored to you
Our sales engineers are PDF experts and coders by trade. They'll answer any technical questions, help you build a proof of concept, and create a license that suits your needs.
30-day free trial
Try our advanced PDF technology on your chosen platform(s), completely free, for 30 days.