HTML 转 Markdown
将 HTML 标记转换为干净、易读的 Markdown 文本
Supported: Headings (H1–H6), bold, italic, inline code, code blocks, links, images, blockquotes, ordered and unordered lists, line breaks, and horizontal rules. Remaining HTML tags are stripped.
HTML to Markdown Converter
Convert HTML markup to clean Markdown. Paste any HTML — from a webpage, CMS, or email — and get readable .md output. Tables, links, code blocks, and nested lists are all handled.
FAQ
When would I convert HTML to Markdown?
When migrating content from a CMS to a static site generator (Hugo, Jekyll, Next.js), when copying articles into a Markdown-based wiki, or when simplifying HTML from a WYSIWYG editor.
Are all HTML elements converted?
Common semantic elements (headings, paragraphs, links, images, lists, tables, code) are converted. Non-semantic elements like div and span are stripped unless they contain meaningful content.
Is inline CSS preserved?
No. Markdown is intentionally presentation-neutral. Inline styles are dropped during conversion.
继续探索
您可能喜欢的其他 文本工具…
密码工具
使用凯撒、维吉尼亚、ROT13 和阿特巴什经典密码加密和解密文本 — 带实时字母表预览
查找与替换
支持正则表达式、大小写敏感、全词匹配和实时预览的文本查找替换工具
去除HTML标签
从文本中去除所有HTML标签 — 可选保留链接、解码实体、保持换行、移除script/style块
Unicode字符检查器
检查文本中的每个字符 — 查看码点、UTF-8/UTF-16编码、HTML实体、分类,检测不可见字符和零宽空格
BPE分词器
在您自己的文本上训练字节对编码并观察子词token的出现 — 可视化合并步骤、词汇增长和GPT及现代LLM使用的token ID
可读性评分
计算任意文本的 Flesch 易读性、Flesch-Kincaid 年级、Gunning Fog、SMOG 和 ARI 分数
大小写转换器
在大写、小写、标题格式、驼峰命名、下划线命名等之间转换文本
Lorem Ipsum生成器
生成段落、句子或单词形式的Lorem Ipsum占位文本