Monu Tools

Markdown 轉 HTML 轉換器

在 Markdown 和 HTML 之間互相轉換,並提供即時預覽。支援雙向轉換。

如何使用 Markdown / HTML

  1. 01

    選擇轉換方向:Markdown 轉 HTML,或 HTML 轉 Markdown。

  2. 02

    在輸入框中輸入或貼上您的內容。

  3. 03

    複製轉換後的輸出,或使用 Markdown 的即時預覽。

What it does

This is a two-way converter between Markdown and HTML. Turn Markdown into clean HTML to paste into a CMS, email or template, or convert existing HTML back into tidy Markdown for documentation and notes. A live preview shows the rendered result as you type.

What Markdown is

Markdown is a lightweight way to write formatted text using plain characters, # for a heading, * for emphasis, - for a list, so it stays readable as source and converts cleanly to HTML. It powers README files, many docs sites, chat apps and static blogs.

Which flavour is supported

The converter uses GitHub-Flavored Markdown, so headings, bold and italics, links, images, ordered and unordered lists, tables, blockquotes and fenced code blocks all convert as you would expect from GitHub or most modern Markdown tools.

A safe preview

The preview renders inside a sandboxed frame that cannot execute scripts, so even HTML containing embedded scripts is displayed safely. That matters when you paste HTML from an unknown source just to see or convert it.

Common uses

Common uses include drafting content in Markdown and exporting the HTML a platform needs, cleaning messy HTML from a page into readable Markdown, or simply checking how a snippet will render before publishing it.

Runs in your browser

Everything runs locally in your browser, which keeps it fast and private. The text you convert never leaves your device.

常見問題

支援哪種 Markdown 格式?

使用 GitHub 風格的 Markdown,因此標題、清單、連結、表格、程式碼區塊和強調都能正確轉換。

預覽是安全的嗎?

是的。預覽在沙盒框架中渲染,無法執行腳本,因此即使是包含嵌入腳本的 HTML 也能安全顯示。

我的內容會上傳到任何地方嗎?

不會。轉換完全在瀏覽器中執行,您的文字永遠不會離開裝置。

來源

嵌入此工具

將此工具加入你自己的網站。複製下方的程式碼片段,它會自動保持最新。

<iframe src="https://monu.tools/embed/zh-Hant/markdown-to-html" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>

相關工具