Omnikit
DevFilesMoneyAll tools
Ctrl K
Dev toolsFile toolsMoney calculatorsAll tools
HomeFile toolsDocument ConverterHTML to Markdown

HTML to Markdown

files

Turn a saved page or a fragment into clean Markdown

Processed in your browser. Nothing is uploaded. Updated on 24 Oct 2026.

Useful when content has to leave a website and live somewhere plain: a docs repository, a static site, a note-taking app. Headings, paragraphs, lists, links, images, quotes, code and straightforward tables all come across as marks. Everything a browser needed and a document does not, including classes, inline styles, scripts and layout wrappers, is dropped. A page that was mostly nested divs will come back as a long run of paragraphs.

Next:
  • Export the sheet as CSV Save any sheet of an Excel workbook as CSV, with clean dates
  • Open the CSV as Excel Turn CSV files into a tidy Excel workbook with real numbers
  • Convert Anything Drop any file and we name it, then offer the one thing you probably came for

How to convert HTML to Markdown

1

Drop the .html file onto the page, or click the drop area to choose it.

2

Check the page in the What we read pane; Convert to is already Markdown.

3

Press Convert to Markdown to turn headings, lists and links into Markdown.

4

Press Copy, or Download .md to save the file.

How HTML to Markdown works

Drop a document and the tool reads its first bytes to work out what it really is, rather than trusting the name on the end of it. If the two disagree it says so once and carries on with the truth. Then it offers the conversion you almost certainly came for as a single button, with what that conversion costs written out above it, before you press anything.

It covers the pairs a browser can do properly. Markdown becomes HTML, plain text or a PDF. HTML becomes Markdown, plain text or a PDF. A Word .docx becomes HTML, Markdown or plain text. A PDF gives up its text as plain text, Markdown or HTML. A plain text file becomes a PDF, an HTML page or Markdown. An RTF gives up its words.

It also refuses, in plain words, the pairs it would do badly. A .docx going to PDF is sent to Word to PDF, which lays the document out on a real page and shows you page one first. A PDF going to Word is sent to PDF to Word, which reads the sizes and positions in the file to rebuild headings and lists. For PDF to Markdown or HTML, headings and lists are worked out the same way and the page says so before it runs; switch that off for plain paragraphs.

The rest of the article, and all 6 questions about Document Converter, are on the Document Converter page.

Frequently asked questions

Which document formats can I convert between?

Markdown to HTML, plain text or PDF. HTML to Markdown, plain text or PDF. Word (.docx) to HTML, Markdown or plain text. PDF to plain text, Markdown or HTML. Plain text to PDF, HTML or Markdown. RTF to plain text. Each pair has its own page with its own explanation of what it keeps and what it drops.

Why will it not convert my Word document to PDF?

Because another tool on this site does it properly. Word to PDF lays the document out on a page size you choose, with margins and a body size, and shows you page one before you download anything. Doing it here would give you the same text with less care, so this tool sends you there instead. The same goes for PDF to Word, which is handled by PDF to Word.

Is my document uploaded anywhere?

No. Reading the .docx, extracting the PDF text, rendering the Markdown and writing the new file all happen in the page you have open. Nothing is sent to a server and nothing is stored, so a contract, a medical letter or an unpublished draft never leaves your device.

What does a PDF made here look like?

A4, Letter or Legal pages with one inch margins, set in Helvetica at the body size you pick, black on white. Headings, paragraphs, lists and simple tables come across. Images are dropped, a link becomes its words with the address in brackets, and Helvetica covers Latin letters only, so other scripts and emoji come out as a question mark. All of that is on screen before you press the button.

Still stuck? Ask about Document Converter and anybody who knows can answer. No account needed.

More ways to use Document Converter

  • Document ConverterTurn a document into another format, with the cost stated first
  • Markdown File to HTMLTurn a .md file into the HTML behind it
  • Markdown to Plain TextStrip every Markdown mark and keep the words
  • Word to HTMLConvert a .docx document into clean semantic HTML
  • Word to MarkdownConvert a .docx document into Markdown you can commit
  • Word to Plain TextTake the words out of a .docx and leave the formatting
  • PDF to HTMLTurn the text of a PDF into a clean HTML page with headings, lists and paragraphs
  • Text to PDFTurn a .txt file into a PDF with real pages
  • Text to HTMLWrap a plain text file in paragraphs, safely escaped
  • Text to MarkdownMove plain text into Markdown without it changing meaning

Same job, other tools: EPUB to Markdown – Turn an e-book into Markdown with its headings, italics, bold and lists kept.

On the related tools: VCF to Excel – Open phone contacts in Excel, one row per contact, each number in its own column.

Related tools

All file tools
VCF to CSV ConverterTurn vCard contact files from a phone, Gmail or iCloud into a CSV for ExcelRemove Duplicate Rows (CSV and Excel)Delete repeated rows from a CSV or Excel sheet, by whole row or by the columns you pickEPUB to TextGet the text of an EPUB e-book as a TXT or Markdown file, chapter by chapterConvert ImageJPG, PNG, WebP, AVIF, GIF, BMP, TIFF, ICO, SVG and HEIC, converted on your deviceConvert AnythingDrop any file and we name it, then offer the one thing you probably came forData ConverterConvert JSON, YAML, XML, CSV, TSV, TOML, INI and Excel into each otherExcel to CSVSave any sheet of an Excel workbook as CSV, with clean datesCSV to ExcelTurn CSV files into a tidy Excel workbook with real numbers

In the collections File Converter · Office File Tools.

Was this tool helpful?
Omnikit

Small jobs, done in your browser. Free, fast and private. Files are never uploaded.

Files

  • Compress Image
  • Image to PDF
  • Merge PDF
  • Compress PDF
  • PDF to Word
  • Word to PDF

Dev

  • JSON Formatter & Validator
  • Base64 Encode & Decode
  • JWT Decoder, Verifier & Encoder
  • Password Generator
  • UUID Generator
  • Unix Timestamp Converter

Money

  • SIP Calculator
  • EMI Calculator
  • GST Calculator
  • FD Calculator
  • PPF Calculator
  • Lumpsum Calculator
GuidesQuestionsAboutHow we checkLaw library (beta)PrivacyTermsDisclosureContactMore: Exam practice (UGC NET Paper 1)Runs in your browser. Nothing is uploaded. © 2026 Omnikit (theomnikit.com)