How to Export ChatGPT to PDF (With Formatting & Code Intact)
The quickest built-in way to get a ChatGPT answer into a PDF is your browser's Print, Save as PDF option, but long chats and code blocks often come out cut off or cluttered. Save GPT saves the response with its formatting and exports a clean PDF in a couple of clicks.
Quick answer
- Install Save GPT from the Chrome Web Store (free).
- Open your ChatGPT conversation and click Save next to the response you want.
- Open your Save GPT library and choose the PDF export option.
- No extension? Press Ctrl+P (Cmd+P on Mac) and set the destination to Save as PDF instead.
Method 1: The built-in way (Print to PDF)
Using your browser's print dialog
- Open the ChatGPT conversation you want to keep.
- Press Ctrl+P (Cmd+P on Mac) to open the print dialog.
- Set the destination to Save as PDF, check the preview, then save.
Limits
- Long conversations can be cut off or paginated badly, so check the preview before saving.
- Code blocks can split across pages, and page elements such as the sidebar can end up in the file.
- You get a PDF only, and it is a manual step every time.
Method 2: With Save GPT
Save GPT keeps the response as formatted content, including code blocks, lists and tables, so the PDF reads like the original answer rather than a page printout. You can export a single saved response or a full chat.
- Install Save GPT and open ChatGPT.
- Click Save next to the answer you want to keep.
- Open your Save GPT library.
- Export as PDF. The same saved item can also be exported as Markdown, JSON, CSV or text later.
Comparison
| Compare | Print to PDF | Save GPT |
|---|---|---|
| Setup | Nothing to install | Free Chrome extension |
| Code blocks | Can split across pages | Preserved with formatting |
| Page clutter | Page elements can appear in the file | Just the saved content |
| Long chats | Can be cut off; check the preview | Export the saved chat from the sidebar |
| Other formats | PDF only | Markdown, JSON, CSV and text too |
Frequently asked questions
How do I export a whole ChatGPT conversation to PDF?
Use your browser Print option and Save as PDF, checking the preview for cut-off pages, or save the chat with Save GPT and export it as PDF from the sidebar.
Does ChatGPT have a built-in PDF export?
ChatGPT's data export is designed as an account archive and does not give you a PDF per chat. For one chat, print to PDF or use Save GPT.
Will code blocks stay formatted in the PDF?
Save GPT preserves code blocks and formatting when it saves a response, and the PDF export is built from that saved content.
Is there a limit on how many PDFs I can export?
Save GPT is free with no save or export limits.
Related guides
Last checked: November 19, 2026