NODEJS PDF SDK

Node.js PDF SDK for creation, editing, annotation, and conversion

Generate, edit, merge, annotate, and convert PDFs — including Office documents and images — directly in your Node.js backend with a TypeScript-friendly SDK that ships as a single npm package and never leaks your documents.

Simplify development

Install one package — npm i @nutrient/node. One TypeScript API generates, edits, and converts PDFs from Office files, images, and HTML while running in-process. No context switching or external calls.

Accelerate time to market

Drop the battle-tested SDK straight into your CI/CD and storage flows. Built-in methods seal PDFs, restrict printing, and add passwords — no glue scripts.

Optimize performance

Offload CPU-heavy jobs to Node.js worker threads. The SDK trims file size, linearizes PDFs, and starts streaming pages sooner, keeping the event loop responsive under peak load.

COMPONENTS

Modular building blocks that grow with you

Start with today’s PDF tasks, and add more as you go. New components drop into the same npm package, powered by a lean TypeScript API that stays inside your Node.js process. Move from conversion to editing, annotation diffing, or form filling without rewriting code or sending data offsite.

hero background
Content editing

Programmatically modify, move, and resize text blocks while preserving fonts, styles, and layout — all inside your Node.js process.

Image documents

Turn JPG, PNG, and multipage TIFF files into PDFs, or render any PDF page back to PNG or WebP — no external services required.

Office files

Convert Word, Excel, and PowerPoint documents to pixel-perfect PDFs without requiring Microsoft Office or adding extra binaries.

Annotations

Create, import, diff, and flatten notes, highlights, shapes, stamps, and more using the same library that powers our Web and mobile SDKs.

Form filling

Fill out PDF forms programmatically with Instant JSON — text fields, checkboxes, and more — all handled natively in your Node.js process. No manual typing, no external services.

Document editing

Rotate, merge, split, crop, or add pages with a single API call. Nutrient Node.js SDK lets you edit PDFs on the fly — no third-party dependencies, just fast, reliable document operations inside your application.


OPERATOR NODES

Bridge Web Viewer SDK to Node.js

Run familiar JavaScript PDF calls on the server through the same WebAssembly core that powers our Web Viewer SDK. Stay in TypeScript, skip native installs, and ship features faster. Need HTML-to-PDF conversion, OCR, or other headless-browser jobs? Pair the Node.js SDK with Document Engine.


FRAMEWORKS

Integrate with JavaScript frameworks

Here are some of the most popular frameworks that Nutrient Node.js SDK works with out of the box.


Reasons to build with Nutrient

Nutrient SDKs and Cloud APIs add full document lifecycle support to any platform, tech stack, or infrastructure in minutes. The same technology meets Fortune 500 requirements while helping startups ship fast.

Ready for context engineering

Clean documentation, drop-in code, and MCP hooks for both hands-on developers and AI agents.

Build for and deploy anywhere

Web, mobile, desktop, server, or Nutrient Cloud — with no lock-in.

Secure and accessible

SOC 2 Type II and WCAG 2.2-compliant workflows with PDF/UA-accessible documents.

AI-first document workflows

Built-in document AI with support for leading LLMs and their private implementations.


See what our customers love about our SDK products.

"Great tool that covers one of our product’s core functionalities."

DMYTRO H.
PRINCIPAL ENGINEER

"A true partner in delivering value for our customers."

KIM T.
SMALL BUSINESS (50 OR FEWER EMPLOYEES)

"The software is reliable and easy to integrate with."

VERIFIED USER IN COMPUTER SOFTWARE
MID-MARKET (51–1,000 EMPLOYEES)

Build smarter with these reads

EXPLORE BLOG

PROVEN AT SCALE

Trusted by the brands that move the world


The digital arm of Germany’s national railway digitizes millions of track maintenance blueprints with the Nutrient PDF SDK, keeping 40,000 trains rolling each day.


Governance portal trusted by 2,000+ boards in 30 countries embeds Nutrient Web SDK to enable in‑portal annotations and cross‑device continuity, achieving 80 percent user engagement.


Rolled out nationwide PAdES-compliant signatures with the Nutrient PDF SDK, letting every Austrian citizen sign official documents securely in seconds.


FREE TRIAL

Ready to get started?

Start building with our Node.js SDK today — no payment information required.


Node.js PDF SDKs: What are the advantages?

What is a Node.js PDF SDK?

A Node.js PDF SDK (software development kit) is a collection of tools and libraries that enables developers to incorporate PDF processing capabilities into Node.js applications. This includes functionalities such as creating, modifying, and optimizing PDF documents directly from the server side, facilitating seamless document management within your applications.

  • Lets users view, annotate, and edit PDFs right inside your app.
  • Simplifies document tasks like merging, splitting, or password-protecting PDFs.
  • Saves development time with prebuilt, reliable PDF components.
  • Ensures a consistent, high-fidelity viewing experience across devices.
How to choose the right Node.js PDF SDK

Selecting the appropriate Node.js PDF SDK is akin to choosing the right tool for a job — it should align perfectly with your project’s requirements. Consider the following factors:

  • Feature set — Ensure the SDK supports essential functionalities like PDF creation, editing, annotation, and conversion.
  • Performance — Look for an SDK optimized for efficient processing, especially if your application handles large documents or requires batch processing.
  • Ease of integration — A well-documented API with clear examples can significantly reduce development time.
  • Cross-platform support — If your application needs to operate across different environments, verify that the SDK offers cross-platform compatibility.
  • Licensing and cost — Assess whether the SDK’s licensing model aligns with your project’s budget and distribution plans.
What are the best solutions to solve my Node.js PDF integration needs?

Various PDF toolkits are available, each with its own strengths. The optimal solution depends on your specific use case:

  • Basic viewing needs — For applications requiring only PDF viewing capabilities, lightweight SDKs may suffice.
  • Advanced editing and annotation — If your project demands functionalities like editing, annotation, and encryption, a more comprehensive SDK such as Nutrient is advisable.
  • Niche specialty SDKs — Some SDKs excel at specific tasks like optical character recognition (OCR) but might lack other core functions.
What are the benefits of using a Node.js PDF SDK with Nutrient?

Opting for Nutrient (formerly PSPDFKit) offers several advantages:

  • Comprehensive feature set — Beyond basic PDF viewing and editing, Nutrient provides advanced functionalities such as digital signatures, form handling, and document optimization.
  • Server-side rendering — Optimized for backend processing, allowing efficient manipulation of PDFs within server environments.
  • High performance — Designed to handle high-volume document processing tasks, ensuring reliability and efficiency for enterprise-level applications.
  • Ease of integration — With well-documented guides and support, integrating Nutrient’s SDK into your Node.js application is straightforward.
  • Reliable support — Access to dedicated customer support and comprehensive documentation aids in smooth development and issue resolution.
How does Nutrient’s Node.js PDF SDK compare to open source alternatives?

While open source options offer basic PDF manipulation capabilities, they may lack advanced features and dedicated support. Nutrient’s SDK provides a more extensive feature set, regular updates, and professional support, which can be crucial for enterprise-level applications requiring reliability and scalability. Integrating PDF functionality into your Node.js application is a significant endeavor. By carefully evaluating your needs and exploring available options, you can select an SDK that not only meets your current requirements but also supports your application’s growth and evolution.


Frequently asked questions

What is the Nutrient Node.js PDF SDK?

The Nutrient Node.js PDF SDK is a comprehensive toolkit designed to enable developers to integrate advanced PDF processing capabilities into their Node.js applications.

Is the SDK compatible with various file formats?

Yes. The SDK supports a variety of file formats, including:

  • Office documents — DOCX, DOC, DOTX, DOCM, XLSX, XLS, XLSM, PPTX, PPT, PPTM
  • Image formats — PNG, JPEG, JPG, TIFF, TIF
  • PDF versions — PDF, PDF/A

Does the SDK support server-side rendering?

Absolutely. The Nutrient Node.js PDF SDK is optimized for server-side rendering, allowing for efficient processing and manipulation of PDFs within backend environments.

Can the SDK handle large-scale document processing?

Yes. The SDK is designed to manage high-volume document processing tasks, making it suitable for enterprise-level applications that require reliable and efficient PDF handling.

Is there support for digital signatures?

Yes. The SDK includes functionality for adding and verifying digital signatures, ensuring document authenticity and integrity.

Is there a free trial available?

Yes. A free trial is available for developers to evaluate the SDK’s capabilities before making a commitment.