Skip to content

Markdown table to PDF

Export wide Markdown pipe tables from notes, READMEs or AI chats to PDF without cut-off columns.

Paste a pipe table or drop a .md file

How to use Markdown table to PDF

  1. Paste your Markdown or drop a file. Paste pipe-delimited Markdown or tab-separated rows into the editor, click Load sample to test, or use Choose a .md file for documents up to 15 MB.
  2. Pick sheet size and layout. Select A4, US Letter, or A3 under Page size, leave Orientation on Automatic for wide tables, and pick Automatic or 8 pt to 11 pt under Text size.
  3. Style headers and rows. Choose Shaded, Ink, or Minimal under Header style, and keep Repeat header on every page, Alternate row stripes, or Include section headings checked as needed.
  4. Export your PDF or CSV. Click Export table PDF to download a paginated vector PDF with bookmarks, or select Save as CSV for spreadsheet import.

Your files are processed on this device and never uploaded. They stay private, and there's nothing to delete afterwards.

How does automatic layout prevent wide table clipping?

Leaving Orientation on Automatic inspects the total column width of each table and flips wide grids to landscape before drawing a single cell. Proportional width calculation allocates extra horizontal room to descriptive text columns while keeping compact numeric columns tight, so right-hand data never disappears off the page edge.

Proportional column sizing and cell text wrapping

Under the GitHub Flavored Markdown Tables Extension Specification, a valid pipe table pairs a header row with a hyphen delimiter row and matching cells. Because raw Markdown pipes do not store pixel widths, the renderer scans every header and body cell to weight each column fairly.

Long descriptions, URLs, and inline code snippets wrap onto multiple lines inside their cell boundaries instead of overflowing neighboring columns. When Text size is set to Automatic, the engine also steps font size down cleanly for dense grids before wrapping.

Choosing automatic, portrait, or landscape on A4, Letter, and A3

Three paper presets cover international and North American printing standards: A4 at 595.28 by 841.89 pt, US Letter at 612 by 792 pt, and A3 at 841.89 by 1190.55 pt. Selecting A3 in landscape gives wide financial or telemetry tables substantially more horizontal room than portrait Letter.

For compact tables destined for slide decks or social posts rather than multi-page printouts, you can turn compact Markdown tables into PNG cards instead of generating a paginated document.

Shaded, Ink, and Minimal headers on A3 paper and long tables

Every table export runs inside a local Web Worker with 0 bytes transmitted to any remote server. You can tune header contrast, row shading, and section context in the Options panel to match internal engineering docs, audit packets, or client handouts.

Control Available choices Default Layout effect
Page size A4, US Letter, A3 Locale default Sets sheet dimensions in PDF points
Orientation Automatic, Portrait, Landscape Automatic Flips wide tables to landscape when needed
Header style Shaded, Ink, Minimal Shaded Controls header fill, border, and text contrast
Text size Automatic, 8 pt, 9 pt, 10 pt, 11 pt Automatic Sets base body font size inside table cells
Repeat header on every page Checked, Unchecked Checked Redraws column headers after every page break
Alternate row stripes Checked, Unchecked Checked Adds subtle zebra shading to even data rows

Inline bold, italic, and code spans inside cells follow the CommonMark 0.31.2 Specification, preserving emphasis and monospace formatting in the exported PDF. When your Markdown file mixes long narrative sections, checklists, and fenced code blocks around tables, use Markdown to PDF to typeset the full document instead of extracting tables alone.

Working with TSV pastes, CSV exports, and character encoding

Many users copy tabular blocks straight from spreadsheets or terminal output rather than writing pipe syntax by hand. This converter bridges tab-separated text, pipe tables, and comma-separated spreadsheets while keeping encoding predictable across PDF viewers.

Parsing tab-separated spreadsheet pastes and exporting RFC 4180 CSV

If no Markdown pipe table exists in the editor, the parser checks for uniform tab-separated lines and builds a structured grid automatically. It even recognizes an optional second delimiter line with colons to preserve left, center, or right column alignment.

Clicking Save as CSV writes a standard UTF-8 file formatted per the IETF RFC 4180 CSV Format Specification, quoting cells that contain commas or line breaks. When you need unformatted plain text without pipe borders or spreadsheet delimiters, you can strip markdown formatting into plain text.

Understanding WinAnsi character folding in standard PDF fonts

The PDF engine embeds standard Helvetica and Courier fonts so generated files stay lightweight and open instantly without bundled font megabytes. Because standard PDF fonts use WinAnsi Latin encoding, smart quotes, em dashes, and accented characters fold to safe equivalents while unsupported symbols are counted cleanly.

Tip: Click Load sample first to inspect how colon markers (:---, :---:, ---:) align text, latency metrics, and currency columns before pasting your own dataset.

When should you extract tables instead of converting full documents?

Extracting tables works best when a long specification, AI chat transcript, or repository README buries a few critical comparison matrices inside pages of prose. Checking Include section headings keeps the nearest heading above each table and writes PDF outline bookmarks so readers jump straight to each dataset.

Handling multi-table READMEs and ChatGPT outputs

Files up to 15 MB load directly in the browser, and live editor parsing tracks up to 500,000 characters while previewing the first 25 rows for snappy typing. Files encoded under the IETF RFC 7763 The text/markdown Media Type standard keep every detected table in sequence inside one paginated PDF.

If a README contains five separate benchmark tables, all five export in document order without manual copy-pasting between sections. Unchecking Include section headings strips surrounding headings when you only want clean standalone data grids.

Recovering tables from screenshots or archiving to spreadsheets

Sometimes the table you need exists only as a static PNG screenshot from a slide deck or dashboard rather than editable Markdown source. In that workflow, you can recover editable pipe tables from screenshots without retyping first, then paste the extracted Markdown here for landscape PDF pagination or CSV export.

Questions

How do wide Markdown tables fit without getting cut off?

Automatic orientation switches wide multi-column tables from portrait to landscape on A4, US Letter, or A3 sheets. The layout engine measures each column proportionally from its cell text and wraps long strings onto multiple lines instead of clipping.

What happens when a Markdown table spans multiple PDF pages?

Rows break cleanly at page boundaries so no single row splits in half across two pages. When Repeat header on every page is enabled, the column header row redraws at the top of each continuation page.

Does the converter preserve left, center, and right column alignment?

Yes. Colon markers in the Markdown delimiter row map directly to PDF text alignment, keeping left-aligned labels, centered badges, and right-aligned numbers properly aligned in every cell.

Can I convert tab-separated spreadsheet rows without pipe syntax?

Yes. When no pipe table is found, the parser detects tab-separated lines copied from Excel or Google Sheets and converts them into a formatted PDF table or downloadable CSV.

Why do emoji or unsupported symbols change in standard PDF fonts?

The renderer embeds standard PDF Helvetica and Courier fonts that use WinAnsi Latin encoding. Characters outside that character set are folded to ASCII equivalents or replaced safely so the PDF opens reliably everywhere.

What happens if a Markdown file contains prose around the tables?

The extractor collects every GFM pipe table in document order and skips narrative paragraphs. Keep Include section headings checked to retain the nearest heading above each table as a section title and PDF bookmark.

Is there a file size or row limit for Markdown tables?

Dropped files can be up to 15 MB, and live editor detection runs automatically up to 500,000 characters while the preview table displays the first 25 rows. Larger datasets still export cleanly when you click Export table PDF.

Updated