Does ChatGPT Export Preserve Images, Tables, Code & LaTeX?

April 18, 2026·6 min read

See exactly which formats preserve which elements — choose the right export for your content.

Add to Chrome, Free
It depends on the format. PDF and HTML preserve the most — images, tables, code blocks with syntax highlighting, and math equations. Markdown preserves tables and code structure. TXT and CSV strip visual formatting entirely. The right format depends on what your conversation contains and where the export needs to work.

Format-by-format: images

FormatDALL·E imagesUploaded images
PDF✓ inline✓ inline
HTML✓ embedded✓ embedded
PNG✓ rendered in image✓ rendered in image
MarkdownReference onlyReference only
TXT
JSONURL/referenceURL/reference
CSV

Format-by-format: tables

FormatTable output
PDFRendered table with rows and columns
HTMLProper HTML table elements
MarkdownPipe table syntax (GFM)
PNGVisual rendering of the table
TXTPlain text — spacing may not align
JSONRaw text content, no table structure
CSVRaw text content, no table structure

Format-by-format: code blocks

FormatCode block output
PDFFormatted block with syntax highlighting
HTMLStyled block with language label
MarkdownFenced block with language identifier
PNGVisual rendering with highlighting
TXTPlain text — code present, no formatting
JSONRaw string — code present, no fencing
CSVRaw string — code present, no fencing

Format-by-format: LaTeX math

FormatMath output
PDFTypeset notation (rendered equations)
HTMLRendered (browser-dependent)
PNGVisual rendering — typeset in image
MarkdownLaTeX source preserved (renders in Obsidian, Typora)
TXTRaw LaTeX source only
JSONRaw LaTeX source only
CSVRaw LaTeX source only

Choose the right format for your content. PDF for images and math, Markdown for code and developer tools.

Add to Chrome, Free

Quick format recommendations by content type

Frequently asked questions

Does exporting ChatGPT to PDF preserve images?

Yes. PDF export includes DALL·E generated images and images you uploaded to the conversation. They appear inline in the PDF document.

Does Markdown export preserve tables?

Yes. ChatCache exports tables as standard Markdown pipe table syntax, which renders correctly in GitHub, Obsidian, Typora, and other Markdown editors that support GFM tables.

Which format best preserves LaTeX math?

PDF is the best choice for typeset math — it renders equations as visual notation, not raw source. Markdown preserves the LaTeX source code for use in editors that support math rendering like Obsidian.

Does HTML export preserve DALL·E images?

Yes. HTML export embeds images inline in the file. The resulting .html file is self-contained — images are included, not linked externally.

What does TXT export do with code blocks?

TXT export preserves the raw text of code but loses fenced block formatting and syntax highlighting. The code content is present but rendered as plain text without language markers.

Export ChatGPT with the right format for your content

Install ChatCache free and export your ChatGPT conversations in any of 7 formats — with full formatting fidelity for the right use case.