How to Export ChatGPT to PDF (Open-source, Print-ready)

Updated January 2025 • 4 minute read • By Rashid Azarang

Need a polished PDF copy of your ChatGPT conversation? The ChatGPT Exporter userscript delivers print-ready PDFs without installing a full browser extension. It runs locally, preserves layout, and includes smart pagination.

Below is the exact workflow, plus tips for customizing headers, fonts, and page breaks.

You’ll need:

Install and export (userscript method)

1

Install a userscript manager

Add Tampermonkey or Violentmonkey to your browser. Open the dashboard once to confirm it is active.

2

Add the PDF exporter

Visit the GreasyFork listing, click Install this script, then approve the prompt in your manager. Updates ship automatically.

3

Refresh ChatGPT

Go to chat.openai.com, open the conversation, and refresh once. An Export as PDF button appears near the title bar.

4

Export your PDF

Click the button, pick a filename, and save. The exporter renders a print-optimized HTML template and hands it to the browser’s native PDF generator.

Prefer a one-off download without installing anything? Use the console method — paste the snippet, run it, and the PDF downloads immediately.

What the PDF includes

Clean typography

Readable sans-serif body copy, monospaced code blocks, and optional cover page metadata.

Smart pagination

Automatic page breaks at logical sections so answers never split mid-sentence.

Dark & light support

Styles flip automatically based on your ChatGPT theme for visual parity.

File naming

Files include the conversation title and timestamp (chatgpt-export-2025-01-07.pdf).

Customize the output

Option Where to change it Why it matters
Page size Browser print dialog (A4, Letter) Match publishing or internal style requirements.
Headers & footers Toggle in print dialog Add timestamps or hide them for a cleaner export.
Images Leave inline, or download originals Images export as embedded nodes; download separately if you need high-resolution versions.

Troubleshooting

The PDF button is missing

Ensure the userscript is enabled and refresh the tab. Tampermonkey may ask you to allow the ChatGPT domain after installation.

PDF looks different from ChatGPT

The exporter applies a dedicated stylesheet for print. Use the Preview button in your browser to check before saving, or tweak the template via GitHub.

Long chats stall during export

Expand all messages before exporting. On very long threads, wait a few seconds while the browser finishes rendering the HTML snapshot.

Export your next ChatGPT conversation

Install the userscript once and download PDFs in a single click.

Install PDF Exporter Prefer Markdown? See the guide →

Keep learning