HTML轉Markdown
將HTML轉換回Markdown。適用於遷移從匯出HTML的CMS中取得的內容。
# Title Some **bold** text.
如何使用本工具
- 1
Paste or type your HTML into the input textarea.
- 2
Watch the Markdown output update live in the gray panel below as you edit.
- 3
Select the converted Markdown and copy it into your editor or content file.
- 4
Spot-check the result and hand-fix anything the converter dropped, such as images or tables.
什麼是HTML轉Markdown?
在不同平台之間遷移內容時,將HTML轉換為Markdown是很常見的操作:例如,從WordPress(HTML)匯出內容,以便匯入到靜態網站產生器(Markdown)中。本工具可處理常見的元素;帶有自訂HTML的複雜版面通常需要手動清理。
常見使用場景
Quickly turn a copied HTML paragraph from a web page into Markdown for a README or blog post.
Draft Markdown documentation from small HTML snippets without installing a Node toolchain.
Strip the tag soup out of pasted rich text down to clean headings, bold, and links.
Prototype a content migration to see roughly how an HTML article maps to Markdown before scripting it.
Convert a simple HTML bulleted list into Markdown dashes for a checklist or issue body.
Teach or demonstrate the relationship between HTML elements and their Markdown equivalents.
常見問題
我所有的格式都能保留下來嗎?▼
相關工具
字數與字元計數工具
線上統計任意文字的字數、字元數、句子數、段落數及閱讀時間。隨你輸入而即時更新。
閱讀時間計算器
估算閱讀任意文字所需的時間。可在休閒閱讀(200詞/分)、技術閱讀(150詞/分)或快速閱讀(400詞/分)之間選擇。
標題分析工具
根據互動潛力為部落格文章標題打分。統計有力詞、情感詞、長度和清晰度。
郵件主旨行評測器
根據潛在開信率為郵件主旨行打分。檢查長度、垃圾郵件觸發詞和急迫感標記。
Markdown 轉 HTML
將 Markdown 文字轉換為 HTML。支援 CommonMark 以及 GitHub 擴充(表格、刪除線、工作清單)。
Twitter / X字元計數工具
為Twitter/X貼文統計字元數。由於Twitter的t.co縮短機制,URL會自動計為23個字元。