Skip to content

Markdown Formatter

Tidy Markdown: line up tables, fix list markers and spacing. Free online Markdown formatter that runs in your browser.

Something not working? Report a problem

What is the Markdown Formatter?

Markdown is easy to write but easy to make messy. This tool lines up table columns, uses the same list markers, and fixes extra blank lines, so your notes and README files look neat.

It does not change the meaning of your text. It only changes spacing and markers.

How to use it

  1. Paste your Markdown in the left box.
  2. The clean version shows on the right.
  3. Copy it or save it as a file.

Why people like this tool

Prettier powered

The same formatter many teams use.

Fast and private

Runs in your browser, nothing is sent.

Shows the error

Tells you where the code is broken.

Your style

Choose indent size and line width.

Before and after

A messy table like this:

| Name | Price |\n|---|---|\n| Tea | 20 |\n| Coffee | 150 |

becomes a table with straight columns, so it is easy to read in the plain text file too:

| Name   | Price |\n| ------ | ----- |\n| Tea    | 20    |\n| Coffee | 150   |

Good uses

  • Clean a README file before you push it to GitHub.
  • Tidy notes you wrote quickly, so every list uses the same marker.
  • Fix extra blank lines left behind when you paste text from another app.

How it works, in one picture

Infographic: how to use the Markdown Formatter in 3 easy steps: Add your text, Choose your options and Copy the result. You get: Prettier powered, Fast and private, Shows the error and Your style.

Frequently asked questions

How do I format Markdown?
Paste your Markdown in the left box. The tidy version shows on the right.
Does it fix tables?
Yes. Columns are padded so the pipes line up.
Will it change my words?
No. Only spacing, list markers and line breaks change.
Is my Markdown sent to a server?
No. The formatting runs in your browser, so your notes stay on your device.

You may also like