Markdown Table Formatter & Aligner

Текст
РЕКЛАМА · УДАЛЯТЬ?

Formatting Options

Table Preview

Параметры экспорта

Проверка

РЕКЛАМА · УДАЛЯТЬ?

Гид

Markdown Table Formatter & Aligner

Markdown Table Formatter & Aligner

Format and align Markdown tables with perfectly padded columns. Paste a messy Markdown table and instantly get clean, aligned output with equal column widths. Includes a rendered HTML preview, export to CSV/HTML/JSON, and validation for common table issues. Handles multiple tables in one input.

Как использовать

Paste your Markdown table into the input area. The formatter instantly aligns all columns to equal widths, padding cells with spaces so pipe characters line up perfectly. Configure column alignment (left, center, right, or auto-detect), padding style (spaced or compact), separator style, and whether to include outer pipes. View the formatted output, check the HTML preview, and export as CSV, HTML table, or JSON.

Функции

  • Column Alignment — Auto-detect alignment from separator markers (:—:, :—, —:), or force all columns to left, center, or right alignment. Alignment markers are preserved in the formatted output.
  • Perfect Padding — Each column is padded to the maximum width of its content, so all pipe characters align vertically. Choose spaced padding (| value |) or compact (|value|).
  • Separator Styles — Minimal dashes (—) or full-width separators that match the column width with dashes for maximum visual alignment.
  • HTML Preview — Rendered preview showing exactly how the Markdown table will look when published. Helps verify formatting before copying.
  • Multi-Table Support — If your input contains multiple tables mixed with other text, each table is formatted independently while surrounding text is preserved.
  • Параметры экспорта — Copy as CSV (properly quoted), HTML table, or JSON array of objects (headers as keys). Each with a copy button.
  • Sort by Column — Optionally sort rows by any detected column header.
  • Проверка — Detects inconsistent column counts, missing separator rows, and empty cells. Shows column and row counts.

Markdown Table Syntax

Markdown tables use pipes (|) to separate columns and dashes (-) for the separator row between headers and data. Alignment is controlled by colons in the separator: :--- (left), :---: (center), ---: (right). Example:
| Name | Age |
|:-----|----:|
| Alice | 30 |

РЕКЛАМА · УДАЛЯТЬ?

How do I align columns in a Markdown table?

Column alignment is controlled by colons in the separator row (the row of dashes between headers and data). Left-align: :— (colon on left). Right-align: —: (colon on right). Center-align: :—: (colons on both sides). Default (no colons): left-aligned. This formatter auto-detects existing alignment markers and preserves them, or you can force all columns to a specific alignment.

Why do my Markdown tables look misaligned in the source?

Markdown tables look misaligned in source code because cell content varies in length, causing pipe characters to appear at different positions on each line. This is purely a source-code readability issue — the table renders correctly regardless of alignment. This formatter fixes the visual alignment by padding each cell to the maximum width of its column, so all pipes line up vertically. The formatted table is functionally identical but much easier to read in source form.

Can I format multiple tables at once?

Yes — if your input contains multiple Markdown tables mixed with other text (like paragraphs or headings), each table is detected and formatted independently. Non-table text is preserved exactly as-is between the formatted tables. This is useful when formatting entire Markdown documents that contain several tables.

Which Markdown renderers support tables?

Markdown tables are supported by GitHub Flavored Markdown (GFM), GitLab Markdown, Bitbucket, Reddit, Stack Overflow, most static site generators (Jekyll, Hugo, Gatsby), and documentation tools (MkDocs, Docusaurus, VuePress). Standard CommonMark does not include tables in its spec, but most implementations add table support as an extension. If your renderer doesn’t support tables, use this tool’s HTML export to get a standard HTML table instead.

Хотите убрать рекламу? Откажитесь от рекламы сегодня

Установите наши расширения

Добавьте инструменты ввода-вывода в свой любимый браузер для мгновенного доступа и более быстрого поиска

в Расширение Chrome в Расширение края в Расширение Firefox в Расширение Opera

Табло результатов прибыло!

Табло результатов — это интересный способ следить за вашими играми, все данные хранятся в вашем браузере. Скоро появятся новые функции!

РЕКЛАМА · УДАЛЯТЬ?
РЕКЛАМА · УДАЛЯТЬ?
РЕКЛАМА · УДАЛЯТЬ?

новости с техническими моментами

Примите участие

Помогите нам продолжать предоставлять ценные бесплатные инструменты

Купи мне кофе
РЕКЛАМА · УДАЛЯТЬ?