Search results
<table>, <tr>, <th>, <td> tags
Table to Markdown
Convert tables to Markdown format instantly
What is Table to Markdown Converter?
Table to Markdown Converter is a free online tool that transforms table data from various formats (HTML, CSV, TSV, JSON) into properly formatted Markdown tables. Perfect for documentation, GitHub READMEs, and technical writing.
Why Use Our Table to Markdown Converter?
- Multiple Input Formats: Supports HTML tables, CSV, TSV (tab-separated), and JSON arrays
- Instant Conversion: Get properly formatted Markdown tables in seconds
- Live Preview: See your table rendered as you convert
- Copy to Clipboard: One-click copy for easy pasting
- 100% Free: No registration required, no limits
How to Convert Tables to Markdown
- Select your input format (HTML, CSV, TSV, or JSON)
- Paste your table data into the input area
- Click "Convert to Markdown"
- Copy the generated Markdown table
- Use the preview to verify the output
Supported Input Formats
- HTML: Standard HTML tables with <table>, <tr>, <th>, <td> tags
- CSV: Comma-separated values (customizable delimiter)
- TSV: Tab-separated values from spreadsheets
- JSON: Array of objects with consistent keys
Features
- Automatic header detection from first row
- Proper pipe character escaping
- Column alignment preservation
- Sample data for testing each format
- Clean, readable Markdown output
Tips for Best Results
- Ensure your first row contains headers
- For CSV, select the correct delimiter if not comma
- JSON should be an array of objects with consistent keys
- HTML tables work best with proper <thead> and <tbody> tags
FAQ
What is Markdown table syntax?
Markdown tables use pipes (|) and dashes (-) to create structured tables. The first row is the header, followed by a separator row of dashes, then the data rows.
Can I convert Excel data?
Yes! Copy cells from Excel and paste as TSV (tab-separated). Excel copies cells with tab delimiters by default.
Why are some characters escaped?
Pipe characters (|) in your data are escaped with backslash (|) to prevent breaking the table structure.
Does this work with complex tables?
This tool handles standard tables. Complex tables with merged cells or nested structures may need manual adjustment.