⚡
usefultools.dev
M↓

HTML to Markdown Converter – GitHub Flavored

NOVO

HTML to Markdown converter for GitHub-flavored Markdown: headings, links, images, nested lists, code blocks, quotes and tables. Free, runs in your browser.

Funciona 100% no seu navegador — o que você insere nunca é enviado nem armazenado nos nossos servidores.

Esta ferramenta ainda não está totalmente traduzida, por isso parte do texto continua em inglês. A ferramenta funciona da mesma forma em todos os idiomas.

⚡

Exemplos rápidos

Entradas típicas e os resultados que esta ferramenta gera.

Heading
<h2>Install</h2>
## Install
Emphasis
<p><strong>Bold</strong> and <em>italic</em></p>
**Bold** and *italic*
Link
<a href="https://x.dev">site</a>
[site](https://x.dev)
List
<ul><li>One</li><li>Two</li></ul>
- One - Two
Code
<code>npm run build</code>
`npm run build`
📖

Visão geral

This HTML to Markdown converter rewrites web content as GitHub-flavored Markdown, ready for a README, a wiki, a static-site generator or a docs repo. It handles headings, bold, italic and strikethrough, links and images with titles, ordered and nested lists, inline code, fenced code blocks with the language from class="language-js", blockquotes, horizontal rules and tables with column alignment.

Writers moving a blog from WordPress, developers copying documentation from a web page, and anyone pasting rich text into GitHub use it to avoid hand-editing. Tags it does not know keep their text, while scripts, styles and form controls are dropped. Characters such as * or [ in normal text are escaped so they do not turn into formatting.

The HTML is parsed by your browser’s DOMParser without running scripts or loading images, and nothing is uploaded.

Por que usar esta ferramenta?

  • Clean GFM output, including tables
  • Nested lists and fenced code blocks done right
  • Choose heading, bullet and italic style
  • Unknown tags keep their text
  • Nothing is uploaded or executed
⭐

Recursos

#️⃣

Two heading styles

ATX (# Title) or Setext (underlined with === and ---) for levels 1 and 2.

•

Lists your way

Pick -, * or + bullets; ordered lists keep their start number and nested lists are indented correctly.

💻

Code aware

Inline code uses enough backticks, and <pre> becomes a fenced block with the detected language.

▦

GFM tables

HTML tables become pipe tables with left, center or right alignment from align or text-align.

🔗

Links and images

Keeps href, src, alt and title attributes; bare URLs become autolinks.

🧼

Safe escaping

Markdown characters in plain text are escaped and raw < is written as &lt;.

🛠️

Como usar

1

Paste HTML

Paste the HTML into the HTML input box, or press Sample.

2

Pick a style

Choose heading style, bullet character and italic marker.

3

Review the Markdown

The Markdown output updates as you type or change an option.

4

Copy or download

Press Copy or Download .md to save it.

🤔

Perguntas frequentes