Markdown Magic
Browser-only tool

Markdown Table Formatter

Clean up uneven Markdown table syntax into a consistent readable layout.

Everything runs locally in this browser: your source text is not uploaded or saved by this tool.

Ready. Paste your content or load the safe example.

How it works

Existing rows are parsed, alignment whitespace is removed, escaped vertical bars are retained, and a consistent heading divider and cell spacing are produced.

Tips for a clean result

  • The first content row is treated as the heading
  • Check alignment markers if your renderer relies on them
  • Avoid multiline cells unless HTML line breaks are acceptable

When this tool is useful

Normalise a table copied from notes, generated output or a code review so the source remains readable and produces a stable diff.

The important edge case

Formatting changes whitespace and escaping, not meaning. Alignment markers and inline Markdown should be reviewed because renderers implement table extensions differently.

Three checks before publishing

  1. Compare the rendered table before and after
  2. Check escaped vertical bars
  3. Keep one logical record per row

Worked example

Select Load example to place a deliberately small, non-sensitive input in the editor. Convert it, compare every row and then alter one awkward value—such as a comma, quote or vertical bar—to see how the output is escaped. This makes the conversion behaviour visible before you use your own material.

Compatibility

Markdown tables are a common extension rather than part of every minimal Markdown implementation. Preview the result in the exact renderer—such as GitHub, a documentation platform or a static-site generator—that will publish it.

Private, quick and reversible

No account is required and conversion happens in your current browser tab. The tool does not transmit or retain the input, but you should still avoid placing confidential data in any device or browser you do not trust.

For the formal baseline behind portable Markdown, see the CommonMark specification; table behaviour is renderer-specific.