guideExport to PDF - overview

CKEditor Cloud Services offers a fast and highly scalable service enabling the user to export documents to PDF format.

The HTML to PDF converter service provides an API for converting HTML documents to PDF files. The service generates a file and returns it to the user so they can save it in the .pdf format on their disk. This allows you to easily turn your content into a collection of easy-to-store files in PDF format.

Export to PDF.

This export to PDF feature is available both as an editor plugin and as a service endpoint. There is also the on-premises version available.

The export to PDF service can be used in two different ways:

  • A plugin for both CKEditor 4 and CKEditor 5 WYSIWYG editors, so that your end-users could generate PDF documents straight in the editor. An appropriate plugin needs to be added to your editor build; this is not pre-bundled.
  • REST service to convert HTML to PDF documents using the API, for example, allowing your application to programmatically generate PDF files from content saved in the database.

You can read more about it and see the demo on the Export to PDF product page.

# Pagination feature

The complementary premium pagination feature for CKEditor 5 allows you to see where page breaks would be after the document is exported to PDF. Thanks to the live preview, the user can fine-tune the structure of the output document when editing it. In addition to this, the pagination feature shows you the page count and allows you to easily navigate between the document pages.

# Using the export to PDF feature

Please refer to the Quick start guide for information on how to start using the export to PDF feature in your WYSIWYG editor build.