Nutrient PDF SDK adds PDF viewing, editing, annotation, signing, redaction, and data extraction to web, mobile, and server apps. Runs in the browser, on iOS and Android, and on your servers.
A PDF SDK is a set of libraries, UI components, and documentation that adds PDF viewing, editing, annotation, signing, and processing to an application. It runs inside the app or on the app’s servers, unlike a cloud API that processes files on the vendor’s servers. Teams usually compare three options: an open source PDF library, a cloud document API, or a PDF SDK.
| Option | Where it runs | What it covers | UI included? | Typical fit | Limitation |
|---|---|---|---|---|---|
| Open source PDF library (for example, PDF.js or PDFium) | In the application, usually one runtime | One job, often viewing or rendering | Sometimes a basic viewer | A team that needs a single function and can maintain the
integration | Narrower coverage; the team owns extra UI, signing, and
processing work |
| Cloud document API (Nutrient DWS APIs) | On the vendor’s servers | The processing jobs the API exposes, such as conversion, OCR, and
extraction | No application UI | Server-side processing when a hosted API is acceptable | Files are sent to the API; the application still needs a viewer
and workflow |
| PDF SDK (Nutrient PDF SDK) | In the app or on the app’s servers | Viewing, editing, annotation, signing, and processing, with UI
components | Yes | A team that needs many PDF jobs and a supported UI | Commercial license; larger integration than a single-purpose
library |
Nutrient PDF SDK is the infrastructure layer for document work, plus the interfaces (PDF viewer and editor UI) people use to review it. A PDF SDK fits when an application needs several PDF jobs, a supported UI, and control over where documents are processed. For a longer definition, read what is a PDF SDK. To evaluate vendors, use the PDF SDK buyer’s guide. For measured rendering and compliance results, see the SDK benchmark reports.
Build exactly where your users are — with full control, high performance, and deep integration across every platform.
Embed fast, full-featured document viewing into your web app — with support for React, Angular, Vue, and other modern frameworks.
Add scalable document processing to your backend — generate, convert, compress, extract, automate, and more with .NET, Python, Java, or Node.js.
Deliver smooth, native PDF viewing on iOS, Android, and cross-platform apps — with high-fidelity rendering and a customizable UI.
Nutrient PDF SDKs run consistently across all major platforms — Web (JavaScript/WebAssembly), iOS, Android, .NET, Java, Node.js, Flutter, and React Native — with native performance and unified APIs.
Integrate document viewing, processing, and signing into your app with native and cross-platform SDKs. Explore features, tweak the UI, and export working code — with APIs that expose everything from prebuilt UI components to custom renderers, annotation hooks, and programmatic document operations.
Nutrient Web SDK
import NutrientViewer from "@nutrient-sdk/viewer";
// Obtain a Nutrient Web SDK document instance.const instance = await NutrientViewer.load({ container: "#viewer", document: "<document-file-path>", licenseKey: "<license-key>"});
console.log("Nutrient Web SDK is ready!");console.log(instance);Document Authoring Library
import DocAuth from '@pspdfkit/document-authoring';
const docAuthSystem = await DocAuth.createDocAuthSystem({ licenseKey: '<license-key>',});
const editor = await docAuthSystem.createEditor( document.getElementById('editor'), { document: await docAuthSystem.createDocumentFromPlaintext('Hi there!'), });Nutrient iOS SDK
import PSPDFKitimport PSPDFKitUIimport SwiftUI
// A `Document` is the container for your PDF file.let document = Document(url: documentURL)
var body: some View { // A `PDFView` will present and manage the PSPDFKit UI. PDFView(document: document) .scrollDirection(.vertical) .pageTransition(.scrollContinuous) .pageMode(.single)}- (instancetype)initWithFrame:(CGRect)frame { if ((self = [super initWithFrame:frame])) { // Set configuration to use the custom annotation toolbar when initializing the `PSPDFViewController`. // For more details, see `PSCCustomizeAnnotationToolbarExample.m` from PSPDFCatalog and our documentation here: https://pspdfkit.com/guides/ios/customizing-the-interface/customize-the-annotation-toolbar/ _pdfController = [[PSPDFViewController alloc] initWithDocument:nil configuration:[PSPDFConfiguration configurationWithBuilder:^(PSPDFConfigurationBuilder *builder) { [builder overrideClass:PSPDFAnnotationToolbar.class withClass:CustomButtonAnnotationToolbar.class]; }]];
_pdfController.delegate = self; _pdfController.annotationToolbarController.delegate = self; _closeButton = [[UIBarButtonItem alloc] initWithImage:[PSPDFKitGlobal imageNamed:@"x"] style:UIBarButtonItemStylePlain target:self action:@selector(closeButtonPressed:)];
[NSNotificationCenter.defaultCenter addObserver:self selector:@selector(annotationChangedNotification:) name:PSPDFAnnotationChangedNotification object:nil]; [NSNotificationCenter.defaultCenter addObserver:self selector:@selector(annotationChangedNotification:) name:PSPDFAnnotationsAddedNotification object:nil]; [NSNotificationCenter.defaultCenter addObserver:self selector:@selector(annotationChangedNotification:) name:PSPDFAnnotationsRemovedNotification object:nil]; }
return self;}Nutrient Android SDK
package com.your.package
import android.net.Uriimport android.os.Bundleimport androidx.appcompat.app.AppCompatActivityimport com.pspdfkit.ui.PdfActivityIntentBuilder
// We need to use a Compat activity for the PdfFragment.class MainActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState)
// Get the document path from the application assets. val documentUri = Uri.parse("file:///android_asset/document.pdf")
// Build the `Intent` for launching the `PdfActivity`. val intent = PdfActivityIntentBuilder.fromUri(this, documentUri) .build() startActivity(intent) }}package com.your.package;
import android.net.Uri;import android.os.Bundle;import androidx.appcompat.app.AppCompatActivity;import com.pspdfkit.ui.PdfActivityIntentBuilder;
// We need to use a Compat activity for the PdfFragment.public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);
// Get the document path from the application assets. Uri documentUri = Uri.parse("file:///android_asset/document.pdf");
// Build the Intent for launching the PdfActivity. Intent intent = PdfActivityIntentBuilder.fromUri(this, documentUri) .build(); startActivity(intent); }}Nutrient Flutter SDK
import 'dart:io';
import 'package:flutter/material.dart';import 'package:path_provider/path_provider.dart';import 'package:pspdfkit_flutter/pspdfkit.dart';
const String DOCUMENT_PATH = 'PDFs/Document.pdf';
void main() => runApp(MyApp());
class MyApp extends StatefulWidget {@override_MyAppState createState() => _MyAppState();}
class _MyAppState extends State<MyApp> {void showDocument(BuildContext context) async { final bytes = await DefaultAssetBundle.of(context).load(DOCUMENT_PATH); final list = bytes.buffer.asUint8List();
final tempDir = await getTemporaryDirectory(); final tempDocumentPath = '${tempDir.path}/$DOCUMENT_PATH';
final file = await File(tempDocumentPath).create(recursive: true); file.writeAsBytesSync(list);
await Pspdfkit.present(tempDocumentPath);}
@overrideWidget build(BuildContext context) { final theme = Theme.of(context); return MaterialApp( home: Scaffold(body: Center( child: ElevatedButton( onPressed: () => showDocument(context), child: Text('Show Document'), ) ) ) );}}Nutrient React Native SDK
import React, {Component} from 'react';import {Platform} from 'react-native';import PSPDFKitView from 'react-native-pspdfkit';
const DOCUMENT = Platform.OS === 'ios' ? 'Document.pdf' : 'file:///android_asset/Document.pdf';export default class PSPDFKitDemo extends Component<{}> { render() { return ( <PSPDFKitView document={DOCUMENT} configuration={{ showThumbnailBar: 'scrollable', pageTransition: 'scrollContinuous', scrollDirection: 'vertical', }} ref={this.pdfRef} fragmentTag="PDF1" style={{flex: 1}} /> ); }}Nutrient for Cordova
// Install the plugin first:// cordova plugin add pspdfkit-cordova
document.addEventListener('deviceready', function() { // Open a PDF document PSPDFKit.present('document.pdf', { pageTransition: 'scrollContinuous', scrollDirection: 'vertical', backgroundColor: '#FFFFFF' });}, false);Nutrient for Xamarin
using PSPDFKit.Model;using PSPDFKit.UI;using PSPDFKit.Instant;
var configuration = PSPDFConfiguration.FromConfigurationBuilder ((builder) => { builder.PageMode = PSPDFPageMode.Single; builder.PageTransition = PSPDFPageTransition.ScrollContinuous; builder.ScrollDirection = PSPDFScrollDirection.Vertical;}));
var document = new PSPDFDocument (NSUrl.FromFilename ("document.pdf"));var pdfViewController = new PSPDFViewController (document, configuration);Nutrient for Ionic
import { Component } from '@angular/core';import { PSPDFKit } from '@ionic-native/pspdfkit/ngx';
@Component({ selector: 'app-pdf', templateUrl: 'pdf.page.html'})export class PdfPage { constructor(private pspdfkit: PSPDFKit) {}
openPDF() { this.pspdfkit.present('document.pdf', { pageTransition: 'scrollContinuous', scrollDirection: 'vertical' }); }}Nutrient .NET SDK
using (GdPictureDocumentConverter oConverter = new GdPictureDocumentConverter()){ // Select the source document and its file format (DOCX, DOC, XLSX, XLS, PPTX, PPT). oConverter.LoadFromFile("input.docx", GdPicture14.DocumentFormat.DocumentFormatDOCX); // Convert the source document to PDF. oConverter.SaveAsPDF("output.pdf", PdfConformance.PDF);}Using oConverter As GdPictureDocumentConverter = New GdPictureDocumentConverter() 'Select the source document and its file format (DOCX, DOC, XLSX, XLS, PPTX, PPT). oConverter.LoadFromFile("input.docx", GdPicture14.DocumentFormat.DocumentFormatDOCX) 'Convert the source document to PDF. oConverter.SaveAsPDF("output.pdf", PdfConformance.PDF)End UsingDocument Engine
# You simply supply a list of document operations to apply.curl -F file=@Example.pdf \ -F operations='{"operations":[{"type": "flattenAnnotations"}]}' \ http://localhost:5000/process \ --output result.pdfNutrient Python SDK
from nutrient_sdk import Documentfrom nutrient_sdk.exceptions import NutrientException
try: with Document.open("input.docx") as document: document.export_as_pdf("output.pdf")except NutrientException as e: print(f"Error: {e}")Nutrient Java SDK
package io.nutrient.Sample;
import io.nutrient.sdk.Document;
public class WordDocumentToPDF { public static void main(String[] args){ try (Document document = Document.open("input.docx")){ document.exportAsPdf("output.pdf"); } }}Managed Document Engine
# You simply supply a list of document operations to apply.curl -F file=@Example.pdf \ -F operations='{"operations":[{"type": "flattenAnnotations"}]}' \ http://localhost:5000/process \ --output result.pdfNutrient for Windows
// This loads a PDF from `Assets` as soon as the `PdfView` is ready.private async void PdfViewInitializationCompletedHandler(PdfView sender, Document args){ try { var file = await StorageFile.GetFileFromApplicationUriAsync(new Uri("ms-appx:///Assets/document.pdf")); if (file == null) return;
await sender.OpenStorageFileAsync(file); } catch (Exception e) { var messageDialog = new MessageDialog(e.Message); await messageDialog.ShowAsync(); }}
// This loads a PDF from a file picked by the user in the UI.private async void Button_OpenPDF_Click(object sender, RoutedEventArgs e){ // Open a `Picker` so the user can choose a PDF. var picker = new FileOpenPicker { ViewMode = PickerViewMode.Thumbnail, SuggestedStartLocation = PickerLocationId.DocumentsLibrary }; picker.FileTypeFilter.Add(".pdf");
var file = await picker.PickSingleFileAsync(); if (file == null) return;
// Open and display it in the PSPDFKit `PdfView`. var documentSource = DocumentSource.CreateFromStorageFile(file); await PdfView.Controller.ShowDocumentAsync(documentSource);}Imports Windows.StorageImports Windows.Storage.PickersImports PSPDFKit.DocumentImports PSPDFKit.PdfImports PSPDFKit.UI
Public NotInheritable Class MainPageInherits Page
Private Async Sub PdfViewInitializationCompletedHandler(sender As PdfView, args As Document)Dim file As StorageFilefile = Await StorageFile.GetFileFromApplicationUriAsync(New Uri("ms-appx:///Assets/document.pdf"))
If file IsNot Nothing ThenAwait sender.OpenStorageFileAsync(file)End IfEnd Sub
Private Async Sub Button_OpenPDF_Click(sender As Object, e As RoutedEventArgs)Dim picker As New FileOpenPickerpicker.FileTypeFilter.Add(".pdf")
Dim file = Await picker.PickSingleFileAsyncIf file IsNot Nothing ThenDim documentSource As DocumentSourcedocumentSource = DocumentSource.CreateFromStorageFile(file)Await PdfView.Controller.ShowDocumentAsync(documentSource)End IfEnd SubEnd Class// This loads a PDF from `Assets` as soon as the `PdfView` is ready.void MainPage::PdfViewInitializationCompletedHandler(UI::PdfView^ sender, Pdf::Document^ args){ const auto path = ref new Uri("ms-appx:///Assets/document.pdf");
create_task(StorageFile::GetFileFromApplicationUriAsync(path)) .then([this](StorageFile^ file) { if (file == nullptr) return;
PdfView->OpenStorageFileAsync(file); });}
// This loads a PDF from a file picked by the user in the UI.void MainPage::Button_OpenPDF_Click(Platform::Object^ sender, RoutedEventArgs^ e){ // Open a `Picker` so the user can choose a PDF. FileOpenPicker^ openPicker = ref new FileOpenPicker(); openPicker->ViewMode = PickerViewMode::Thumbnail; openPicker->SuggestedStartLocation = PickerLocationId::PicturesLibrary; openPicker->FileTypeFilter->Append(".pdf");
create_task(openPicker->PickSingleFileAsync()) .then([this](StorageFile^ file) { if (file == nullptr) return;
// Open and display it in the PSPDFKit `PdfView`. const auto documentSource = DocumentSource::CreateFromStorageFile(file); PdfView->Controller->ShowDocumentAsync(documentSource); });}<Pagex:Class="BasicExample.MainPage"xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"xmlns:local="using:BasicExample"xmlns:d="http://schemas.microsoft.com/expression/blend/2008"xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"xmlns:ui="using:PSPDFKit.UI"mc:Ignorable="d"Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> <Page.Resources> <x:String x:Key="license">YOUR LICENSE GOES HERE</x:String> </Page.Resources>
<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> <Grid.RowDefinitions> <RowDefinition Height="*"/> <RowDefinition Height="52"/> </Grid.RowDefinitions> <ui:PdfView Grid.Row="0" Name="PdfView" License="{StaticResource license}" InitializationCompletedHandler="PdfViewInitializationCompletedHandler"/> <Button Content="Open PDF" HorizontalAlignment="Left" Margin="10" Grid.Row="1" Name="Button_OpenPDF" Click="Button_OpenPDF_Click"/> </Grid></Page>Nutrient Mac Catalyst SDK
import PSPDFKitimport PSPDFKitUIimport SwiftUI
// A Document is the container for your PDF file.let document = Document(url: documentURL)
var body: some View { // A PDFView will present and manage the PSPDFKit UI. PDFView(document: document) .scrollDirection(.vertical) .pageTransition(.scrollContinuous) .pageMode(.single)}Nutrient Electron SDK
const { app, BrowserWindow } = require('electron');const path = require('path');
function createWindow() { const mainWindow = new BrowserWindow({ width: 1200, height: 800, webPreferences: { nodeIntegration: true, contextIsolation: false } });
mainWindow.loadFile('index.html');}
app.whenReady().then(createWindow);
// In your renderer process (index.html):// <script>// import PSPDFKit from 'pspdfkit';//// PSPDFKit.load({// container: '#pspdfkit',// document: 'document.pdf',// licenseKey: '<license-key>'// });// </script>PDF Generation API
curl -X POST https://api.nutrient.io/build -H "Authorization: Bearer your_api_key_here" -o result.pdf -F index.html=@index.html -F instructions='{ "parts": [ { "html": "index.html" } ] }'PDF Conversion API
curl -X POST https://api.nutrient.io/build -H "Authorization: Bearer your_api_key_here" -o converted.pdf -F document=@Example1.docx -F instructions='{ "parts": [ { "file": "document" } ] }'PDF Editor API
curl -X POST https://api.nutrient.io/build -H "Authorization: Bearer your_api_key_here" -o merged.pdf -F part1=@Example1.pdf -F part2=@Example2.pdf -F instructions='{ "parts": [ { "file": "part1" }, { "file": "part2" } ] }'PDF OCR API
curl -X POST https://api.nutrient.io/build -H "Authorization: Bearer your_api_key_here" -o result.pdf -F document=@Example.pdf -F instructions='{ "parts": [ { "file": "document" } ], "actions": [{ "type": "ocr", "language": "english" }] }'Ship faster with enterprise-grade SDKs built on years of R&D — so you can focus on features, not edge cases.
Skip PDF maintenance and brittle tools. Nutrient handles updates, rendering, and support — so your team can focus on what matters.
Power document workflows with built-in AI. Summarize, translate, redact, or build agentic flows — all in just a few lines of code.
Documents stream page by page, so users start reading immediately — even with 1,000+ page files.
Every font, vector, and layer displays exactly as intended, on any device or browser.
Documents stay on device or in your infrastructure. No third-party uploads, no data leaks.
Screen reader support, keyboard navigation, and WCAG 2.2 compliance built in.
Five criteria separate PDF SDKs. Each one links to the evidence.
Build exceptional user-facing document experiences — from fast PDF viewing to collaborative editing, markup, and forms — right inside your app.
Automate how documents are handled behind the scenes. Convert, classify, scan, and extract data with server-side SDKs or cloud APIs.
Handle approvals and secure delivery with integrated signing and redaction tools that ensure accuracy, auditability, and compliance.
Meet the strictest data protection and accessibility standards with built-in security, PDF/A support, audit trails, and WCAG-compliant rendering.
One intelligence across SDKs, cloud, low-code, and workflows. The same document-tuned AI engine powers every Nutrient product, adding real insight, automation, and compliance in a single drop-in. For schema-shaped extraction into an application, see the Data Extraction API.
Summaries, smart diffs, and chat answers in seconds.
Confidence-scored redaction with full audit trails.
Prompt-based data capture, no templates.
No-code workflows route documents and data wherever they’re needed.
Self-host, run on Nutrient-managed infrastructure, or use our cloud service — same AI engine, same results.
Our comprehensive buyer’s guide walks you through the key questions, tradeoffs, and red flags to watch for — so you can choose with confidence.
PROVEN AT SCALE
IBM powers flight releases for 34,000+ commercial pilots with Nutrient, replacing paper workflows with digital signing and annotations.
DocuSign relies on Nutrient to render and tag documents for 200M+ users, ensuring fast, reliable eSignature workflows at scale.
Deutsche Bahn’s digital arm digitizes millions of track maintenance blueprints with Nutrient, keeping 40,000 trains rolling every day.
A PDF SDK is a set of libraries, UI components, and documentation that adds PDF viewing, editing, annotation, signing, and processing to an application. It runs inside the app or on the app’s servers, unlike a cloud API that processes files on the vendor’s servers.
Yes. Nutrient offers PDF SDKs for Web (JavaScript), iOS, Android, Flutter, React Native, MAUI, .NET, Python, Java, and Node.js. Our SDKs share a consistent API design across platforms, making it easier to maintain cross-platform applications with unified PDF functionality.
Nutrient SDKs support PDF as the primary format, along with images (PNG, JPEG, TIFF), Microsoft Office documents (Word, Excel, PowerPoint), and more through our conversion capabilities. We provide native integrations for popular frameworks like React, Vue, Angular, and Next.js, and support both client-side and server-side implementations.
Absolutely. Nutrient SDKs offer extensive customization options, including theming, custom toolbars, branded UI components, and the ability to build completely custom interfaces using our APIs. You can match your brand colors, fonts, and design patterns while maintaining full PDF functionality.
Yes. Security is a top priority. Our SDKs support encryption, password protection, digital signatures, and redaction, and they comply with standards like PDF/A and PDF/UA. We offer both client-side processing for sensitive documents and secure server-side options. Our solutions are used in highly regulated industries, including healthcare, finance, and government.
Nutrient uses advanced rendering engines optimized for each platform. Our Web SDK leverages WebAssembly for consistent rendering across all browsers, while native SDKs use platform-specific optimizations. This ensures accurate display of complex PDFs, including forms, annotations, embedded fonts, and special formatting — regardless of the viewing environment. See the published SDK benchmark reports for measured rendering, OCR, and compliance performance.
We provide comprehensive documentation, API references, integration guides, code samples, and video tutorials. Our GitHub repositories include example projects for various frameworks. You also get access to dedicated support channels, regular webinars, and a responsive technical support team to help with implementation.
A dedicated PDF SDK gives the application complete control over the user experience, data residency, and feature set. The implementation stays in the app or on the app’s servers, and the UI and behavior can be customized. Documents don’t have to leave the application’s infrastructure.
Nutrient PDF SDK licensing is tailored to your use case — pricing depends on the platforms, capabilities, and deployment model you need. Start with a free trial (no credit card required). Then contact Sales for a quote that matches your requirements. See the pricing page for details on licensing options, and read PDF SDK pricing and licensing explained for how the license models work.
Sign up for a free trial, choose a platform, and follow the getting started guides. Nutrient SDKs ship as npm packages, CocoaPods, Maven repositories, and NuGet packages. No credit card is required for the trial.
The right PDF SDK depends on platform coverage, rendering fidelity, compliance (PDF/A, PDF/UA, WCAG), deployment (client-side, self-hosted, or cloud API), and licensing. Nutrient publishes SDK benchmark reports with methodology, and the PDF SDK buyer’s guide walks through the evaluation.
A PDF library typically covers one job, such as rendering. A PDF SDK covers many jobs and includes UI components. A PDF API is hosted and processes files on the vendor’s servers. Nutrient offers both a PDF SDK and hosted APIs, including the DWS Processor API and the Data Extraction API.
PDF.js is a common open source web PDF viewer. Nutrient PDF SDK is commercial and offers a free trial. A commercial SDK is a larger integration than a single-purpose open source library, and it uses a paid license.
Yes. Nutrient Web Viewer SDK renders documents in the browser with no server infrastructure, and self-hosted Document Engine runs in the customer’s own infrastructure, including a VPC, private cloud, or air-gapped environment. The deployment options page compares each model.
FREE TRIAL
The right PDF SDK depends on platform coverage, rendering fidelity, compliance (PDF/A, PDF/UA, WCAG), deployment (client-side, self-hosted, or cloud API), and licensing. Nutrient publishes SDK benchmark reports with methodology, and the PDF SDK buyer’s guide walks through the evaluation.
Nutrient’s PDF SDK is the core engine behind all types of use cases — contract management, form filling, document workflows, compliance, and more — all within your app’s native environment.
Nutrient focuses on developer-first tools with enterprise support. It fits engineering and product teams that need platform coverage, flexibility, and one vendor for viewing and processing.