Markdown Converter
Convert HTML, CSV, JSON, XML, documents (DOCX, XLSX, PPTX), or plain text to Markdown format.
Convert HTML tags to Markdown syntax using Turndown.js
0 characters ยท 1 lines
0 characters ยท 1 lines
Markdown Syntax Quick Reference
Headers
Emphasis
Links & Images
Lists & Tables
How Each Conversion Works
๐ HTML to Markdown
Uses Turndown.js to convert HTML tags to Markdown syntax. Headings (<h1>-<h6>) become # headers, <strong> and <b> become **bold**, <em> and <i> become *italic*, links become [text](url), and lists are preserved with - or 1. notation.
<h2>Title</h2> โ ## Title
<strong>Bold</strong> โ **Bold**
๐ CSV to Markdown Table
Parses CSV data (comma, semicolon, or tab-delimited) and creates formatted Markdown tables. The first row becomes the table header, and subsequent rows become table data. Handles quoted fields and automatically aligns columns.
Name,Age โ | Name | Age |
Alice,28 โ | Alice | 28 |
๐ฆ JSON to Markdown
Validates and formats JSON data as a Markdown code block with syntax highlighting. The JSON is automatically indented with 2 spaces for readability and wrapped in triple backticks with the 'json' language identifier.
{"name":"value"} โ ```json { "name": "value" } ```
๐ XML to Markdown
Formats XML as a Markdown code block with syntax highlighting. The XML is wrapped in triple backticks with the 'xml' language identifier, preserving the original structure and indentation for easy viewing in Markdown renderers.
<root>...</root> โ ```xml <root>...</root> ```
๐ Text to Markdown
Auto-detects patterns in plain text and converts them to Markdown. URLs are converted to clickable links [url](url), email addresses become mailto: links, and ALL CAPS lines are converted to ## headers. Existing list formatting is preserved.
https://example.com โ [https://example.com](https://example.com)
user@email.com โ [user@email.com](mailto:user@email.com)
Common Use Cases
๐ README Files
Convert HTML documentation to Markdown for GitHub, GitLab, or Bitbucket README files. Perfect for open-source projects.
๐ Data Tables
Transform CSV exports from Excel or Google Sheets into Markdown tables for documentation or blog posts.
๐ Technical Docs
Convert API responses (JSON/XML) to formatted Markdown code blocks for technical documentation and tutorials.
โ๏ธ Blog Posts
Convert HTML content to Markdown for static site generators like Jekyll, Hugo, or Gatsby.