---
title: "Export custom styles to PDF"
description: "Learn how to export custom styles from Tiptap JSON to PDF using the Export PDF extension."
canonical_url: "https://tiptap.dev/docs/conversion/export/pdf/styles"
---

# Export custom styles to PDF

Learn how to export custom styles from Tiptap JSON to PDF using the Export PDF extension.

- **1. Activate trial or subscribe**

  Start a [free trial](https://cloud.tiptap.dev/v2?trial=true) or [subscribe to the Start plan](https://cloud.tiptap.dev/v2/billing) in your account.
- **2. Install from private registry**

  To install this frontend extension, authenticate to Tiptap's private npm registry by following the [setup guide](https://tiptap.dev/docs/guides/pro-extensions.md).

When exporting to PDF, you can define custom styles that will be applied to the exported document. This is useful when you want to have a consistent look and feel across your documents.

> **Requires Export DOCX extension:**
>
> Style overrides for PDF export require the `@tiptap-pro/extension-export-docx` extension to be installed and configured in your editor. The PDF export uses DOCX generation under the hood before converting to PDF. Without it, the `styleOverrides` and element override options will have no effect.
