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

Digital document with toolbar spanning along the top of the doc, and labels above describing the functionality of each tool in Nutrient PDF Viewer.Toolbar of web user interface explained with labels

Benefits

Bright green grass on rock symbolizes simplicity and efficiency, reflecting how our PDF SDK streamlines document manipulation and software development. Years of research and customer collaboration drive innovative solutions, empowering developers to reduce time spent on tasks and stay ahead of the competition.

Integrate easily

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

Bright green grass on rock symbolizes simplicity and efficiency, reflecting how our PDF SDK streamlines document manipulation and software development. Years of research and customer collaboration drive innovative solutions, empowering developers to reduce time spent on tasks and stay ahead of the competition.

Build for speed

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

Bright green grass on rock symbolizes simplicity and efficiency, reflecting how our PDF SDK streamlines document manipulation and software development. Years of research and customer collaboration drive innovative solutions, empowering developers to reduce time spent on tasks and stay ahead of the competition.

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

Autodesk logo
UBS logo
IBM logo
UBS logo
IBM logo

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}

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.

Redaction

Automatically and permanently remove sensitive and personal information from documents.

Automatically and permanently remove sensitive and personal information from documents.

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.