免费计划: 1次转换/ 小时、 1 个文件一次
无限制地走 →

变换 HTML 至 Markdown

变换 HTML 至 Markdown 轻松的文档

选择您的文件

*文件在 24 小时后删除

免费转换最大 1 GB 的文件,专业版用户可转换最大 100 GB 的文件;立即注册

上传

0%

如何转换 HTML 至 Markdown

第一步:上传您的 HTML 使用上方按钮或拖放方式上传文件。

步骤 2:点击“转换”按钮开始转换。

步骤 3:下载转换后的文件。 Markdown 档案


HTML 至 Markdown 变 变 常 数

我如何转换 HTML 来清除 Markdown?
+
上传 HTML 和转换器将结构映射为 Markdown 语法 : 标题变成 { * 级别, 粗体/ italic 变成 { / } /, 列表变成 ` - / ` 1., 链接变成 `[ text] (url) 。 结果是可移动的 普通文本 Markdown 。 您可以将结果投入 README 、 静态站点站、 wiki 或任何标记达时编辑器 。
Yes — heading levels in the HTML convert to the matching number of `#` characters, and bulleted / numbered / nested lists convert to `-` and `1.` markers with correct indentation. The Markdown preserves the document outline so the structure is immediately readable as plain text.
转换为 GitHub- Flavered Markdown 管道表 ( co
从 HTML 中嵌入的图像被提取到一个 sibling 文件夹中, 并用 `! [alt] (path)'语法引用 Markdown, 所以在真实图像文件中的标记点。 如果图像已经在网上托管, 您也可以选择保留绝对的 URL 。
转换器可以随意从Markdown HTML 元数据中 的顶部释放YAML 前置事项块(`-`标题/作者/日期 /日期 `-'),这正是Jekyll、Hugo和其他静态站点生成器所期望的。关闭它用于一个干净的仅使用身体的Markdown 。
The Markdown uses ATX-style `#` headings by default — the modern, widely-supported convention that works in every Markdown flavor and scales to all six heading levels. Setext (underlined) headings only support two levels, so ATX is the safer, more portable choice.
超链接成为内线`[text](url)'链接,当 HTML 标记真实脚注时,它们转换为`[%1] 的参考式脚注,使支持扩展的平台上正确。
是- 输出为 GitHub- Flavered Markdown, 因此它可以将 GitHub 和 GitLab 的 README、 Wiki 页面、 发行或 PR 描述正确化 。 管道表、 任务列表、 栅栏代码块, 以及 {} 标题在粘贴或 承诺 Markdown 后都按原意显示 。
Yes — uploaded HTML files are processed in isolated workers and deleted within minutes. We never read, store, or share the contents. See /privacy/.
Markdown can't express every feature a rich document has (colored text, complex tables, text boxes), so the converter falls back to inline HTML for those fragments rather than dropping them — Markdown allows embedded HTML. If you want pure Markdown, simplify the formatting in the HTML first, or enable the "strip HTML fallback" option.
Yes — monospaced / pre-formatted text in the HTML becomes a fenced ```code block``` in the Markdown, preserving whitespace and, where detectable, the language hint for syntax highlighting. This is essential when converting technical documents and tutorials to Markdown.
是 — 启用 YAML 前事项和 Markdown 出来准备投入一个“ 内容/ ” 或“ ” 标杆/ 文件夹: 前事项的标题和日期, 标牌为清除标记, 图像在比布林文件夹中, 转换器的目标正是雨果、 耶基尔、 十一和盖茨比预期的形状 。

HTML

HTML ( Hypertext 标记语言) 是建立网页的标准语言。 HTML 文件包含结构化代码, 标签可以定义网页的结构和数据。 HTML 对网络开发至关重要, 能够创建互动和视觉上吸引人的网站 。

Markdown

Markdown is a popular file format.


给这个工具评分
5.0/5 - 0 票数
或者把文件拖到这里。