Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>List2Table: Markdown ConverterNew to Visual Studio Code? Get it now.
List2Table: Markdown Converter

List2Table: Markdown Converter

mythias

|
16 installs
| (0) | Free
Convert lists to markdown tables with a single command
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

List to Markdown Table Converter

A VS Code extension that converts various list formats into well-formatted Markdown tables with a single command.

Demo of List to Markdown Table Converter

Features

  • Convert bullet lists (-, *, +) to Markdown tables
  • Convert numbered lists (1., 2), etc.) to Markdown tables
  • Convert delimited text (comma, tab, semicolon, or pipe-separated) to Markdown tables
  • Automatically detect or customize table headers
  • Preserve Markdown links in table cells, even when they contain pipe characters
  • Keyboard shortcuts for quick conversion

Usage

  1. Select the list text you want to convert
  2. Use one of the following methods:
    • Press Ctrl+Alt+T (Cmd+Alt+T on Mac) to convert with header options
    • Press Ctrl+Alt+D (Cmd+Alt+D on Mac) to convert with default headers
    • Open the Command Palette (Ctrl+Shift+P or Cmd+Shift+P) and type "Convert List to Markdown Table"
    • Right-click and select "Convert List to Markdown Table" from the context menu

Header Options

When using the Ctrl+Alt+T shortcut or the command palette, you'll be presented with three options:

  • Auto-detect headers: Uses the first row of your list as the table headers
  • Use custom headers: Prompts you to enter comma-separated custom headers
  • Use default headers: Uses generic headers (Column 1, Column 2, etc.)

Supported List Formats

Bullet Lists

- Item 1, Value 1, Note 1
- Item 2, Value 2, Note 2
- Item 3, Value 3, Note 3

Numbered Lists

1. Item 1, Value 1, Note 1
2. Item 2, Value 2, Note 2
3. Item 3, Value 3, Note 3

Comma-Separated Values

Item 1, Value 1, Note 1
Item 2, Value 2, Note 2
Item 3, Value 3, Note 3

Tab-Separated Values

Item 1	Value 1	Note 1
Item 2	Value 2	Note 2
Item 3	Value 3	Note 3

Semicolon-Separated Values

Item 1; Value 1; Note 1
Item 2; Value 2; Note 2
Item 3; Value 3; Note 3

Pipe-Separated Values

Item 1 | Value 1 | Note 1
Item 2 | Value 2 | Note 2
Item 3 | Value 3 | Note 3

Example Conversions

Input (Bullet List)

- Apple, Red, Sweet
- Banana, Yellow, Sweet
- Lime, Green, Sour

Output (Markdown Table)

| Column 1 | Column 2 | Column 3 |
| --- | --- | --- |
| Apple | Red | Sweet |
| Banana | Yellow | Sweet |
| Lime | Green | Sour |

Rendered Output

Column 1 Column 2 Column 3
Apple Red Sweet
Banana Yellow Sweet
Lime Green Sour

Special Features

Markdown Link Preservation

The extension properly handles Markdown links in your lists, even when they contain pipe characters:

- [Link with | pipe](https://example.com), Description
- [Regular link](https://example.com), Description

Will be converted to:

| Column 1 | Column 2 |
| --- | --- |
| [Link with \| pipe](https://example.com) | Description |
| [Regular link](https://example.com) | Description |

Requirements

  • VS Code 1.99.0 or higher

Extension Settings

This extension doesn't add any VS Code settings.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This extension is licensed under the MIT License.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft