Markdown Table Compactor. Less Noise, Same Data.
Paste any markdown that contains tables and the tool will strip all column-alignment padding in one go. The output keeps the same data but cuts file size and makes the raw source far easier to read and diff. Non-table lines, code blocks, and headings are passed through unchanged.
Markdown Table Compactor
Strips column padding from markdown tables. Non-table content is preserved as-is.
Was this helpful?
Files stay local
Processed in your browser
Instant
No queue, no wait time
No account
No sign-up, ever
Free
Enabled by ads
How it works
Paste your markdown
Drop in any markdown text. Tables padded by editors, AI tools, or documentation generators are all supported.
See the compact output instantly
The tool strips column padding and produces a minimal pipe-separated table without altering any cell content.
Copy or download
Copy the result to clipboard or download as a .md file.
Frequently asked questions
Markdown renderers do not need the columns to be visually aligned. Compact format removes all extra spaces used for alignment, reducing file size without changing how the table renders.
No. Only the whitespace padding around cells and in the separator row is removed. Every value stays exactly as it was.
Non-table content is passed through without modification. Headings, paragraphs, code blocks, and lists are all preserved as-is.
No. Everything runs in your browser. Nothing is sent to a server.
More Markdown tools
Markdown
Markdown Table Editor
Edit markdown tables in your browser and export to Excel
Edit and export markdown tables free →Markdown
Markdown to Notion
Paste formatted markdown directly into Notion
Paste markdown into Notion free →Markdown
Markdown to PDF
Convert markdown to a clean, print-ready PDF
Convert markdown to PDF free →Sign PDF
Sign any PDF or document for free
Sign a PDF free →