Markdown 工具
在瀏覽器中編輯、預覽與轉換 Markdown,無需上傳。
Markdown 工具
-
Markdown 轉 HTML
立即將 Markdown 文字轉換為乾淨的 HTML,貼上即可複製輸出。
開啟工具 →
-
HTML 轉 Markdown
將 HTML 原始碼轉換為易讀的 Markdown,保留標題、連結與清單。
開啟工具 →
-
Markdown 預覽
在瀏覽器中即時並排顯示 Markdown 編輯器與渲染後的 HTML 預覽。
開啟工具 →
-
Markdown 表格產生器
視覺化建立 Markdown 表格,輸入欄列即可複製結果。
開啟工具 →
-
目錄產生器
從 Markdown 中擷取標題,產生含連結的目錄。
開啟工具 →
-
Markdown 連結檢查器
從 Markdown 中擷取所有連結,並驗證每個 URL 是否可連線。
開啟工具 →
-
標題擷取器
從任何 Markdown 文件中擷取並列出所有層級的標題大綱。
開啟工具 →
-
Markdown 格式移除器
移除所有 Markdown 格式語法,輸出乾淨的純文字結果。
開啟工具 →
-
圖片連結擷取器
從 Markdown 中擷取所有圖片引用,一覽 alt 文字與來源 URL。
開啟工具 →
-
Markdown 字數統計
計算 Markdown 文件的字數、字元數與閱讀時間,排除標記語法。
開啟工具 →
Why browser-only Markdown tools?
Markdown is a plain-text format used in README files, documentation, blog posts, and notes. Many online Markdown processors send your text to a remote server for rendering or conversion. That is unnecessary — modern browsers can parse and transform Markdown entirely in JavaScript without a round trip to any server. The tools on this page keep your text private and work instantly, even offline after the page has loaded.
Browser-based Markdown tools are also useful for developers who want to check their README output, writers who draft in Markdown and need a word count, and teams who need to audit links or extract a document outline before publishing.
Choosing the right tool
To see how your Markdown looks when rendered, use the Markdown Preview. To convert Markdown to HTML for embedding in a web page, use Markdown to HTML. To convert existing HTML back to Markdown, use HTML to Markdown. To build a Markdown table without memorising the syntax, use the Table Generator. To generate a clickable table of contents for a long document, use the TOC Generator. To audit all URLs in a document before publishing, use the Link Checker.
常見問題
- Do my Markdown files get uploaded to a server?
- No. Every Markdown tool on this page runs entirely in your browser using JavaScript. Your text and files never leave your device — not even temporarily.
- Which Markdown flavour do the tools support?
- The tools target CommonMark-compatible Markdown: headings, bold, italic, strikethrough, inline code, fenced code blocks, links, images, ordered and unordered lists, blockquotes, and horizontal rules. GitHub-Flavored Markdown (GFM) tables are supported in the Table Generator.
- Can I use these tools to prepare README files?
- Yes. The Markdown Preview and TOC Generator are particularly useful for README files. Paste your README, verify the rendered output, then generate a table of contents to paste at the top.
- How accurate is the HTML-to-Markdown conversion?
- The HTML to Markdown converter handles the most common structural elements: headings (h1–h6), paragraphs, bold, italic, strikethrough, inline code, code blocks, links, images, ordered and unordered lists, blockquotes, and line breaks. Complex tables and deeply nested structures may need manual cleanup.
- Does the link checker actually fetch URLs?
- Yes. The Markdown Link Checker uses the browser's Fetch API to send a HEAD request to each extracted URL. Requests that return a 2xx or 3xx response are marked as reachable. CORS restrictions may prevent some external URLs from being verified — those are flagged separately.
- How does the word count exclude Markdown syntax?
- The Markdown Word Count tool strips all formatting — headings markers, bold/italic asterisks, code fences, link syntax, image syntax, and blockquote markers — before counting words. This gives you the true prose word count of your document, not the word count including markup characters.
- Can I copy the output to the clipboard?
- Yes. Every tool includes a Copy button that writes the output to your clipboard using the Clipboard API, which is supported on all modern browsers including mobile.
- Do these tools work offline?
- Yes for most tools. All computation runs locally once the page has loaded. The Link Checker requires an internet connection to fetch URLs, but the extraction step works offline.