BlockNoteBlockNote
    • Docs
    • AI
    • Examples
    • Pricing
    • About
    • Sign in
Examples
Converting Blocks to HTMLParsing HTML to BlocksConverting Blocks to MarkdownParsing Markdown to BlocksExporting documents to PDFProExporting documents to DOCX (Office Open XML)ProExporting documents to ODT (Open Document Text)ProExporting documents to Email (HTML)Pro
ExamplesInteroperabilityExporting documents to PDFPro

Exporting documents to PDF

This example exports the current document (all blocks) as an PDF file and downloads it to your computer.

Try it out: Edit the document and click "Download .pdf" at the top to download the PDF file.

GitHub
StackBlitz

Pro Example

Get access to the full source code for pro examples by subscribing to BlockNote Pro

Get BlockNote Pro

Parsing Markdown to Blocks

Previous Page

Exporting documents to DOCX (Office Open XML)Pro

Next Page

Footer

BlockNoteBlockNote

BlockNote is an extensible React rich text editor with support for block-based editing, collaboration and comes with ready-to-use customizable UI components.

Learn

  • Documentation
  • Examples
  • Releases

Collaborate

  • Partner with us
  • Sponsorships
  • Contribute

Community

  • GitHub
  • Discord

Legal

  • Terms & Conditions
  • Privacy Policy

Theme

© 2026 BlockNote maintainers. All rights reserved.