Markdown Table Alignment

Control column alignment in Markdown tables

Runs in your browser — nothing is uploaded.

TableAligned Markdown

AlignmentProduct: leftQuantity: centerPrice: right

Table

Use the button beside each header to cycle left → center → right

:--- :---: ---:

Markdown
Markdown
| Product | Quantity | Price |
| :--- | :---: | ---: |
| Widget A | 100 | $9.99 |
| Widget B | 50 | $19.99 |
| Widget C | 200 | $4.99 |
Preview
Product Quantity Price
Widget A 100 $9.99
Widget B 50 $19.99
Widget C 200 $4.99
Converted in your browser · 0 bytes uploaded3 rows × 3 columnsGuide

Table Alignment Syntax

Markdown tables use colons in the separator row to control column alignment:

SyntaxAlignmentExample
:--- or ---Left (default)Text aligns left
:---:CenterText centers
---:RightText aligns right

Example

| Left | Center | Right |
|:-----|:------:|------:|
| A    |   B    |     C |