electron pdf sdk
Add document support to your Electron apps
Deliver seamless cross-platform document experiences on macOS, Windows, and Linux with an Electron PDF SDK built for developers, by developers.



Cross-Platform Capabilities
Add high-fidelity document rendering to your desktop apps from a single codebase

Benefits

Integrate easily
Integrate quickly with just a few lines of code, and customize your UI with the same proven APIs as our Web SDK.

Build for speed
Ensure a fast and responsive user experience with an SDK that uses WebAssembly to run your web viewer in C++.

Scale with security
Innovate with confidence knowing that our SDKs are safe, reliable, and backed by a global support team that’s always ready to help.
trusted by industry leaders
Example
Easy code integration
1import 'dart:io';
2
3import 'package:flutter/material.dart';
4import 'package:path_provider/path_provider.dart';
5import 'package:pspdfkit_flutter/pspdfkit.dart';
6
7const String DOCUMENT_PATH = 'PDFs/Document.pdf';
8
9void main() => runApp(MyApp());
10
11class MyApp extends StatefulWidget {
12 @override
13 _MyAppState createState() => _MyAppState();
14}
15
16class _MyAppState extends State<MyApp> {
17 void showDocument(BuildContext context) async {
18 final bytes = await DefaultAssetBundle.of(context).load(DOCUMENT_PATH);
19 final list = bytes.buffer.asUint8List();
20
21 final tempDir = await getTemporaryDirectory();
22 final tempDocumentPath = '${tempDir.path}/$DOCUMENT_PATH';
23
24 final file = await File(tempDocumentPath).create(recursive: true);
25 file.writeAsBytesSync(list);
26
27 await Pspdfkit.present(tempDocumentPath);
28 }
29
30 @override
31 Widget build(BuildContext context) {
32 final themeData = Theme.of(context);
33 return MaterialApp(
34 home: Scaffold(
35 body: Builder(
36 builder: (BuildContext context) {
37 return Center(
38 child: Column(
39 mainAxisAlignment: MainAxisAlignment.spaceEvenly,
40 children: [
41 ElevatedButton(
42 child: Text(
43 'Tap to Open Document',
44 style: themeData.textTheme.headline4?.copyWith(fontSize: 21.0),
45 ),
46 onPressed: () => showDocument(context),
47 ),
48 ],
49 ),
50 );
51 },
52 ),
53 ),
54 );
55 }
56}
Knowledge center
Pick your perfect solution
Nutrient is made to grow with your app. You can start with what you need now and add more products later.
Viewing
Open all documents with high fidelity in a well-designed viewer.
Open all documents with high fidelity in a well-designed viewer.
Markup
Improve the review process with a suite of annotation tools.
Improve the review process with a suite of annotation tools.
Collaboration
Bring real-time collaboration to your documents.
Bring real-time collaboration to your documents.
Editing
Modify documents and easily edit PDF text directly in your app.
Modify documents and easily edit PDF text directly in your app.
Forms
Easy for users to fill forms. Easy for you to create them programmatically.
Easy for users to fill forms. Easy for you to create them programmatically.
Signing
Streamline contract execution and approval workflows by enabling eSignatures and PDF digital signatures.
Streamline contract execution and approval workflows by enabling eSignatures and PDF digital signatures.
Generation
Effortlessly generate PDFs from HTML and DOCX.
Effortlessly generate PDFs from HTML and DOCX.
Document Conversion
Easily convert any Office document, image, email, or webpage into a high-quality PDF.
Easily convert any Office document, image, email, or webpage into a high-quality PDF.
Security and Compliance
Protect sensitive information and meet regulatory requirements within your application.
Protect sensitive information and meet regulatory requirements within your application.
Latest from the blog
Blog
Explore the latest insights, products, tutorials, and more.
Frequently asked questions
What is the Electron PDF SDK and how can it benefit my desktop application?
The Electron PDF SDK is a powerful software development kit designed to add high-fidelity PDF document support to your Electron desktop applications across macOS, Windows, and Linux platforms. Built by developers for developers, it enables seamless integration with just a few lines of code, enhancing your app's ability to view, edit, and manage PDFs efficiently. This SDK ensures a fast, responsive experience with WebAssembly-powered rendering and offers robust security backed by a global support team, making document workflows smoother and more reliable for your users.
How easy is it to integrate the Electron PDF SDK into my existing Electron app?
What features does the Electron PDF SDK support for PDF handling?
This SDK offers a comprehensive set of PDF handling features designed to meet diverse developer and user needs. These include high-fidelity document rendering, annotation and markup tools, form viewing and filling, text editing, redaction of sensitive information, electronic and digital signatures, document collaboration, and robust document security and compliance capabilities. Whether you need to display, edit, convert, or secure PDFs, the Electron PDF SDK has you covered.
Is the Electron PDF SDK secure and reliable for enterprise use?
Absolutely. Security and reliability are core pillars of the Electron PDF SDK. It is built with enterprise-grade security features to protect sensitive information and help meet regulatory requirements. Additionally, the SDK is supported by a global team of experts committed to ensuring stability and prompt assistance, giving you peace of mind when deploying mission-critical document solutions in your applications.
Can I try the Electron PDF SDK before committing to it?