How to keep ChatGPT mermaid diagrams in a PDF, or keep the source when the render fails
Keep ChatGPT mermaid diagrams in a PDF by clipping a finished render, and always save the Mermaid source if the picture might break.
Also on Microsoft Edge Add-ons
A Mermaid diagram in ChatGPT is both a picture and a source file, and the picture is the easy one to lose. If you want to keep ChatGPT mermaid diagrams in a PDF, wait until the diagram has finished rendering, clip the visible graphic plus the source if you can still see it, and treat the source as the thing you can rebuild later.
This is not a general code-blocks page and not a MathJax troubleshooting guide. The job is a Mermaid (or similar diagram) block in a ChatGPT thread. The capture path is the ChatGPT to PDF workflow for what is actually visible on the page.
Keep ChatGPT mermaid diagrams in a PDF and keep the source too
- Let the diagram finish rendering in the tab. A half-drawn chart is a bad archive. If there is a source toggle, open it so the Mermaid text is visible.
- Select the rendered diagram and, in a second clipping or the same one if it stays readable, the source. Title them as 'diagram' and 'mermaid source' under the same tag.
- Export PDF when you need a visual packet, and Markdown when you will paste the source into a docs tool that can render Mermaid later.
- If the render is broken, do not file a blank box. Keep the source only, and rebuild it in a Mermaid previewer you already trust.
Honest limits
- Excerpt is not a Mermaid renderer and may not keep a perfect, clickable diagram in every PDF.
- A screenshot of the chart is a picture, not a source you can edit.
- Official architecture decisions still belong in your ADR or wiki, with the diagram as a supporting clip.
Excerpt is a Chrome/Edge extension for this kind of capture: multi-select the ChatGPT, Claude, Gemini, or webpage blocks you actually need, export a clean PDF or Markdown file, and keep it in a searchable library stored locally in IndexedDB. Free includes 100 clippings and 5 tags; Pro is a $29 one-time unlock for unlimited clippings plus backup import/export. There is no cloud sync product and no AI summarizer claimed as shipped—your files stay on this device.
The durable artifact is the source. The PDF is for people who need to see the picture today. If you only keep the picture, you will redraw it from memory the next time the labels change.
When a diagram includes internal hostnames or unreleased product names, redact those labels or keep the file in a work profile only. A pretty chart is still a disclosure. Put the system and date in the title so a later search does not return five unlabeled 'architecture' PDFs.
When you are ready to clip, install Excerpt on Chrome or Excerpt on Edge and export a clean local file rather than pasting the thread into a random converter site.
FAQ
Will the PDF keep the diagram as editable Mermaid?
Not reliably. Keep the source in Markdown if you will edit or rerender it, and use the PDF as a visual snapshot after preview looks right.
What if the diagram never rendered in the chat?
Clip the source if it is visible, or paste it into a local previewer. Excerpt cannot invent a picture the page never drew.
Related guides
Install Excerpt and save your next clip as a clean PDF
Free: up to 100 clippings and 5 tags. Pro is $29 one-time for unlimited + library backup import/export.