Script to docs: use free ONLYOFFICE DocBuilder to generate docx, xlsx, pptx, and pdf files

Great news, everyone!

The new version of ONLYOFFICE Document Builder, our library for generating docs, is now available on GitHub on terms of AGPLv3 license.

What is DocBuilder?

ONLYOFFICE Document Builder is a tool for generating docs from JavaScript code. Here’s why it’s cool:

  • It allows generating and modifying docx, xlsx, and pptx files of any complexity.
  • It allows sending docs to a printer and saving them as PDF.
  • It can be integrated with any app written in any language.
  • No need to run an actual editor each time you interact with Office docs in your app.

The source code can be found on GitHub.

Detailed information on how to use DocBuilder can be found in our API documentation.


You can use ONLYOFFICE Doc Builder for free as long as you respect AGPLv3 license.

Get it now

If you want to use it in your proprietary product, contact our sales team at


Recent Posts

ONLYOFFICE Desktop Editors are now available as Flatpak

Great news everyone! The long-awaited Flatpak for our desktop editors is now available on Flathub. We are coming to more…

1 day ago
  • Integration
  • ONLYOFFICE Tips and Tricks

How to edit ownCloud documents with ONLYOFFICE on your iOS device

Hello everyone! We have recently announced that ONLYOFFICE Documents for iOS 5.0 allows connecting cloud storage services via WebDAV, and…

3 days ago
  • Events

Meet ONLYOFFICE at POSS, JRES, and re:Invent in 2019

Hello everyone! December seems to be quite a busy time for ONLYOFFICE. We will travel to the US and France…

1 week ago

New ways to ONLYOFFICE: AWS instances

Being on a mission to bring innovative office apps to everyone, we added ONLYOFFICE Enterprise Edition to AWS Marketplace. This…

1 week ago

ONLYOFFICE is looking for a mascot

Hello everyone! Our project is on the hunt for its spiritual creature. For this reason, we are opening a contest…

2 weeks ago
  • Documents

ONLYOFFICE Document Server is now available as a snap

Great news everyone! From now on you can easily install ONLYOFFICE Document Server as a snap package. Read this post to learn…

2 weeks ago

This website uses cookies. By continuing to browse the website you agree to our privacy policy.

our privacy policy