File Formats

File Formats Explained: PDF, DOCX, EPUB, CSV & More

Plain-English guide to PDF, DOCX, XLSX, EPUB, JPG, CSV, HTML, JSON and more — what each format is good at, bad at, and how it handles AI.

12 min readFile Formats

Frequently asked questions

Why do AI tools prefer markdown over PDF?+

PDFs are designed for printing, not reading. Their text is often stored in weird order, split across invisible columns, or locked inside image layers. Markdown is pure text with clear structure — headings, lists, tables — so the model spends its attention on meaning instead of layout.

Is DOCX the same as DOC?+

No. DOC is the old binary Word format from 1997–2007. DOCX replaced it and is a zipped bundle of XML files. DOCX is far easier for modern tools to parse cleanly. If you still have DOCs, open and re-save as DOCX first — your conversions will be much better.

Is HEIC worth using instead of JPG?+

HEIC files are about half the size of JPG at the same visual quality, which is why iPhones default to it. The downside is compatibility — older apps and Windows machines choke on it. For anything you might share or feed to AI tools, JPG is still the safer default.

What is the difference between CSV and TSV?+

Same idea — one row per line, columns separated by a delimiter. CSV uses commas, TSV uses tabs. TSV handles messy data better because commas appear inside values far more often than tabs do. If your CSV is breaking, try TSV.

Should I use HTML or markdown for my blog?+

Write in markdown, publish to HTML. Every modern static site generator and CMS converts markdown to HTML at build time. You get the editing ease of markdown and the browser compatibility of HTML, with none of the tag soup.

JSON or XML for data exchange?+

JSON in almost every case. It is shorter, easier to read, and every language supports it natively. XML still shows up in enterprise systems, SOAP APIs, and document formats like DOCX, but for new work JSON wins.

Keep learning

Put this into practice

Create a free Markdown Converters account to try everything you just read on your own documents.