Example input/output
Input: | Name | Age |\n| Ada | 30 |\n| Bob | 25 |
Output: | Name | Age |\n|---------|-----|\n| Ada | 30 |\n| Bob | 25 |
How it works
This tool parses each row and column in the Markdown table, calculates the maximum width for each column, and pads all cells with spaces to align them. The separator row is also regenerated. Processing runs in your browser.
Common use cases
- Align columns in a manually edited Markdown table
- Normalise Markdown table formatting before committing to a repository
- Fix spacing issues in Markdown tables pasted from other sources