Converter

HTML to Markdown

Turn HTML snippets or exports into Markdown with Turndown — locally in your browser, similar to APK Analyzer and APK String Extractor: your source HTML is not uploaded to DroidXP. Optional GFM rules load from jsDelivr with turndown-plugin-gfm. Preview the other direction in Markdown Previewer when you want to sanity-check output.

Ad placement — top banner
UTF-8 · ~2M character soft limit

Structured data paths: XML to JSON, CSV to JSON.

Ad placement — mid rectangle

What this tool does

Turndown walks your HTML and emits Markdown with configurable rules for headings, lists, code fences, and links. Enabling GFM loads turndown-plugin-gfm for table and task-list patterns common on GitHub.

Local vs CDN

Your HTML body is not uploaded for conversion — Turndown runs entirely in the page. The Turndown and GFM scripts are served from jsDelivr when you open this tool, like other static libraries.

Privacy

Content and options stay in this session until cleared. Dropdowns and the GFM checkbox may be stored in localStorage. Avoid pasting secret or untrusted HTML if you later render Markdown in an unsafe environment.

How to use this tool

  1. Step 1: Paste HTML or upload .html / .htm / text; paste inner content only for cleaner notes.
  2. Step 2: Choose heading style, list marker, code blocks, link style, and enable GFM if you need tables or task lists.
  3. Step 3: Click Convert, review the Markdown, then copy or download a .md file.

Frequently Asked Questions

Does DroidXP upload my HTML or Markdown?

No. Turndown runs in your browser on the HTML string you provide. It is not sent to DroidXP servers for conversion. Turndown and the optional GFM plugin load from jsDelivr like normal script tags.

What does the GFM (GitHub-flavored) option add?

When enabled, turndown-plugin-gfm extends Turndown with tables (with a header row), strikethrough, task list checkboxes, and common GitHub-style code block wrappers. Complex table layouts may still need manual cleanup.

Will Markdown round-trip back to identical HTML?

No. Conversion is lossy: attribute order, classes, inline styles, script tags, and many structural details are not preserved in Markdown.

Is pasted HTML safe to convert?

Malicious HTML could run if you render it elsewhere. Use this tool on trusted snippets. Converting to Markdown does not execute scripts in the tool, but avoid pasting untrusted content into other previewers.

Why do headings or lists look wrong?

Try switching ATX vs setext headings, changing the bullet marker, or toggling fenced vs indented code blocks. Messy pasted Word/HTML often needs a quick manual pass.

Can I paste a full page with <html> and <body>?

Yes. Turndown walks the fragment you paste; outer wrappers become part of the output. For cleaner notes, paste only the main article markup.

Large documents?

Very large HTML can slow the tab. For huge exports, use a local CLI or editor plugin; this page targets articles, emails, and snippets.

Same privacy idea as APK Analyzer?

Yes for content: your HTML stays local for the conversion step. Library scripts are fetched from the jsDelivr CDN when you load the page — standard for open-source bundles.

Does this validate HTML?

No. The browser parses malformed HTML leniently before Turndown sees it. Expect best-effort output if tags are broken.

Link references vs inline links?

Choose inline links for compact single-file notes, or referenced links if you prefer footnote-style reference blocks at the bottom.

Is this a CMS migration tool?

It helps with one-off conversions. Full migrations need link rewriting, asset paths, shortcodes, and regression tests — beyond a quick browser utility.