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

  • Integration

ONLYOFFICE gets its app on Cloudron with easy and quick installation

Hello everyone! We are happy to announce that ONLYOFFICE editors are now available as a one-click app on Cloudron. It takes…

24 hours ago
  • Success story

How ONLYOFFICE helps organize research workflow in the Institute of Biology of Lille

The Institute of Biology of Lille has implemented ONLYOFFICE within its research units to facilitate workflow. This use case was…

3 days ago
  • Events
  • Partnership

FOSDEM 2020: ONLYOFFICE highlights

Shortly after CS3, we visited another event meaningful for European open-source community: FOSDEM 2020 in Brussels. Read more in this…

1 week ago

ONLYOFFICE at CS3 Workshop 2020: our summary

Last week, the ONLYOFFICE team went to a notable event for the global scientific community: Workshop on Cloud Services for…

2 weeks ago

Meet ONLYOFFICE at MWC Barcelona 2020

Hi everybody! We are going to wrap up our series of winter business trips with attending MWC Barcelona this February.…

2 weeks ago

ONLYOFFICE partners with CEO-Vision: the symbiosis of online editors and the digital workplace GoFast

ONLYOFFICE is proud to announce its official partnership with CEO-Vision. The agreement was signed on the margins of the Paris…

3 weeks ago

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

our privacy policy