Generate documents from JavaScript code

javascript logo
Carbone logo

Generate advanced reports, rich documents and PDFs from your JavaScript application. Carbone is the best JavaScript PDF solution.

Read Javascript SDK docs

Avoid wasting time on coding your PDF document

Concentrate developer job to integrate logic. The design of your report is taken care of using the template. Avoid spending time fine-tuning the design of your documents within the code.

Opting for templates in Word, Excel, PowerPoint, or LibreOffice not only saves you hours or days of work but also enhances the ease of maintaining your software in your JavaScript environment.

Even on complex documents, avoid spending time to support complex pagination, headers and footers, or complex page layouts, but use a tool everyone knows and is designed for it!

With Carbone, you can finally impress your customers by integrating all their wildest requests in just a few minutes.

How to use Carbone in JavaScript application

Avoid wasting time on coding your PDF document illustration

Create various documents from your application within minutes.

Integrating Carbone only demands a few lines in your JavaScript code , empowering you to effortlessly generate PDFs, various document and reports types with efficiency and reliability .

Say goodbye to laborious coding with solutions like jsPDF, pdfkit or Puppeteer.

Carbone stands out as the most JavaScript efficient, straightforward, and effective solution for creating:

Try it now for free

Create various documents from your application within minutes. illustration

NPM module of open source JavaScript SDK is available

Integrate our JavaScript SDK package directly and generate your first PDFs, documents and reports with just a few lines of code. Simply install the Carbone module with your usual package manager, and benefit from our tools in a matter of seconds. A simple npm install et voilà!

We will also be happy to help you use our Carbone document generator in your system.

Take advantage of Carbone's community features free of charge and without limits.

JavaScript SDK on Github JavaScript SDK on Npm

NPM module of open source JavaScript SDK is available illustration

Scalability / Modern / Future prof / High-performance

Take advantage of a state-of-the-art solution to generate all your documents from your own JavaScript code - it is simple to develop and, above all, simple to maintain.

Carbone is a very robust, node-based tool with few dependencies, so you can rely on it for the long term.

Feel free to try our tool for free or book a demo.

Book demo with team

Scalability / Modern / Future prof / High-performance illustration

More than just text replacement, embed png, jpeg, svg images, charts, form, signatures ... in your PDFs

Creating high-quality documents with a wide range of elements. With Carbone, it's not just replacing text. You can insert SVG, png, jpeg images, charts, form fields, barcode and QRCode, document metadata or even signatures in pdf output.

Carbone's capabilities are exceptional, allowing you to design the documents you want without any limits and natively for your JavaScript application.

More than just text replacement, embed png, jpeg, svg images, charts, form, signatures ... in your PDFs illustration

Carbone Cloud or Carbone self-hosted on your server

Our tool is designed to work in even the most demanding environments. Use our turnkey SaaS offer in just a few minutes, but you can also install one or more Carbone instances in your local or Cloud environment to generate your PDFs while keeping full control of your infrastructure and data security.

Deploy Carbone on your workstation, on your on-premise Linux servers, or in your Cloud infrastructure (Kubernetes, AWS, GCP, Azure, ...). Setting it up and maintaining it is very simple using our Docker container (for x64 and arm64 platforms).

The Carbone product will bring you the best performance, high availability and aggressive pricing for the seamless generation of all your PDFs from your JavaScript application.

Self Hosted Carbone

Carbone Cloud or Carbone self-hosted on your server illustration

HTML template support

Carbone is compatible with any XML template format whether it's built with Microsoft Office, LibreOffice, or even a direct HTML file as a template.

With Carbone V5, you can use our document generator in your JavaScript application with HTML templates and benefit from all the advantages of a Chrome browser for creating PDF files.

Carbone's implementation enables you to replace solutions like Gotenberg with far greater capacity and rendering performance. Simply automate the sending of personalized e-mails or the creation of high-quality PDFs.

More about HTML -> PDF converter

HTML template support illustration

More than an open-source project, a team at your service

Carbone is a recognized open-source project. Community features are available free of charge, and Carbone's core code is open source.

If you switch to our Enterprise package, you'll benefit not only from advanced features but also from top-quality support operated by a professional team.

No other JavaScript library offers this level of support, and it's our customers who tell us so!

Chat this the team

More than an open-source project, a team at your service illustration

Advanced font support

Rendering fonts in documents is always a nightmare. With Carbone, generate documents from your JavaScript code using custom fonts! You can choose to include them in your template or install them on your server if you use our self-hosted solution.

Multi-language report and document generation

Create documents with different localizations without constraints. Whether static or dynamic text, manage translations and RTL languages in your templates, saving your developers hours of work.

More info on font support

Advanced font support illustration

Attach file, merge document of enable advanced PDFs options

Carbone also lets you handle PDF files in an advanced way using JavaScript code. In particular, you can attach files to a PDF to create electronic invoices (Factur-X / Zugferd in France and Germany). You can also dynamically include previously generated PDFs such as product sheets directly in your templates.

You can also use the PDF export options to activate compression, and configure read and modify rights directly on your exported documents.

All PDF export functions Append, merge or attach files features

Attach file, merge document of enable advanced PDFs options illustration

Documents with no page limit

Unlike many competing solutions, Carbone is not limited by page count. Generate documents with hundreds of pages, huge amounts of data, tables with thousands of lines, ... with no worries at all.

Important detail: the price of a rendering is not linked to the number of pages, so you can generate pdf documents at a very competitive cost!

Carbone pricing

Documents with no page limit illustration

Embed Carbone Studio in your HTML5 application

With Carbone v5, you can now include Carbone Studio in your application or web page. Let your users download and modify templates, preview a document, or make a demo directly from your environment.

Studio Carbone integration documentation

Embed Carbone Studio in your HTML5 application illustration

JavaScript, but not only

Take advantage of our tools in other programming languages (NodeJS, PHP, GO, ...), or use our API directly.

GoLang SDK NodeJS SDK Python SDK Php SDK

JavaScript, but not only illustration

Trusted by 600+ paid customers in 40+ countries

Finance
Healthcare
Public
Retail
Industries
Energy
Software
Telecom
1dior.png
22thales.png
23younited.png
2danfoss.png
3cma-cgm.png
3illumina.svg
4KparK.png
6scalingo.png
7defense.png
8bmw.png
8telus.png
bestseller.png
flagship_bioscience.png
insly.png
ninox.png
sodexo.png