Markdown 转 HTML
将 Markdown 文本转换为 HTML,支持实时预览和源码视图
Welcome to Markdown to HTML
Features
This converter supports bold text, italic text, and inline code.
Links and Images
Check out OpenAI for more info.
Code Block
function greet(name) {
return "Hello, " + name + "!";
}
Blockquote
This is a blockquote. It can span multiple lines.
Unordered List
- Item one
- Item two
- Item three
Ordered via bold
Step 1: Write your markdown. Step 2: See the HTML output. Step 3: Copy and use it!
Supported: Headings (H1–H6), bold, italic, inline code, code blocks, links, images, blockquotes, and unordered lists. All conversion happens in your browser — nothing is sent to a server.
Markdown to HTML Converter
Convert Markdown to HTML with live preview. Paste your .md content and get clean semantic HTML — headings become h1–h6, bullet lists become ul/li, and code blocks get pre/code tags.
FAQ
How do I convert Markdown to HTML?
Paste your Markdown in the left panel and the HTML equivalent appears in the right panel instantly.
Why convert Markdown to HTML?
Markdown is convenient to write, but browsers display HTML. Converting is useful when embedding Markdown content in a CMS, email template, or web page that requires raw HTML.
Does it support GitHub Flavored Markdown (GFM)?
Yes — the converter supports GFM extensions including tables, strikethrough, task lists, and fenced code blocks with language hints.
继续探索
您可能喜欢的其他 文本工具…
密码工具
使用凯撒、维吉尼亚、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占位文本