Monu Tools

Chuyển đổi Markdown sang HTML

Chuyển Markdown sang HTML và HTML trở lại Markdown, với bản xem trước trực tiếp. Hoạt động theo cả hai chiều.

Cách dùng Markdown / HTML

  1. 01

    Chọn một chiều: Markdown sang HTML hoặc HTML sang Markdown.

  2. 02

    Gõ hoặc dán nội dung của bạn vào ô đầu vào.

  3. 03

    Sao chép đầu ra đã chuyển, hoặc dùng bản xem trước trực tiếp cho 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.

Câu hỏi thường gặp

Phong cách Markdown nào được hỗ trợ?

Nó dùng Markdown phong cách GitHub, nên tiêu đề, danh sách, liên kết, bảng, khối mã và nhấn mạnh đều chuyển đổi như mong đợi.

Bản xem trước có an toàn không?

Có. Bản xem trước hiển thị bên trong một khung sandbox không thể chạy script, nên ngay cả HTML có script nhúng cũng được hiển thị an toàn.

Nội dung của tôi có được tải lên đâu không?

Không. Việc chuyển đổi chạy hoàn toàn trong trình duyệt của bạn, nên văn bản của bạn không bao giờ rời khỏi thiết bị.

Nguồn

Nhúng công cụ này

Thêm công cụ này vào trang web của riêng bạn. Sao chép đoạn mã bên dưới; nó tự động cập nhật.

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

Công cụ liên quan