Conversor de HTML a Markdown
Convierte HTML en Markdown limpio. Encabezados, negrita y cursiva, enlaces, imágenes, listas anidadas, citas, bloques de código y tablas se traducen todos, con opciones para el estilo de encabezado, las viñetas de lista y los bloques de código.
The reverse direction is Markdown to HTML Converter, and Strip HTML Tags is the right tool if you want prose without any structure at all. To tidy the source before conversion, the HTML Formatter & Beautifier makes it readable.
Cómo usar HTML a Markdown
- 1 Paste your HTML into the left pane, or drop a file onto it.
- 2 Choose the flavour options — ATX or setext headings, dash or asterisk bullets, fenced or indented code.
- 3 Check the live preview to confirm the structure survived as you expected.
- 4 Copy the markdown, or download it as a file.
Cómo usarlo
Pega HTML (un documento completo o solo un fragmento) y el Markdown aparece al instante. El analizador usa el motor HTML del propio navegador, así que incluso el marcado desordenado o mal formado se interpreta como lo leería un navegador.
- Encabezados, listas, enlaces, imágenes y tablas
- Estilo de encabezado ATX o Setext
- Bloques de código cercados o indentados
- Enlaces en línea o de estilo referencia
- Escape opcional de caracteres de Markdown
Preguntas frecuentes
What gets lost in the conversion?
Anything markdown cannot express. Classes, IDs, data attributes, table cell spans, and complex nested layouts have no equivalent, so they are dropped. The text content and the block structure survive; the styling and the semantic metadata do not. That is a property of markdown rather than a limitation of the converter.
Why do some tables come out as plain text?
Because markdown tables support only simple grids — a header row and uniform body rows with no merged cells. A table with rowspans, colspans, or nested content cannot be represented, so the converter falls back to something readable rather than producing markdown that will not render. Check any table in the preview and decide whether the loss is acceptable.
Should I keep the HTML or the markdown?
Keep the markdown if you will keep editing the document. It is easier to read in source form, diffs cleanly in version control, and does not accumulate the styling cruft that rich-text editors add. Keep the HTML if the document needs to look exactly the same everywhere, since markdown delegates appearance to whatever renders it.
Herramientas de texto relacionadas
También te puede interesar
Herramientas de otras categorías que suelen combinarse con HTML a Markdown: