HTML / Word / Google Docs to Markdown
Copy from Word, Google Docs or a web page and paste into the left box: Markdown comes out at once, with headings, bold, nested lists, tables, links and code. You can also paste HTML source or open a .html file. It runs in your browser; nothing is sent anywhere.
Getting the tool ready…This tool needs JavaScript. If you still see this after a few seconds, JavaScript is switched off in your browser or the page did not load completely: turn JavaScript on or reload the page.
How to use it
- Open the document in Word or Google Docs (or a web page), select the text and press Ctrl+C (Mac: ⌘+C).
- Click the left box and press Ctrl+V. The tool takes the formatted HTML from the clipboard and the Markdown appears on the right (or paste HTML source, or choose a .html file).
- Pick the heading and bullet style you like, then Copy or Download .md.
Good to know
- The output is GitHub Flavored Markdown (GFM): headings, bold, italic, strikethrough, links, pictures, nested lists, tables, code (with the language from a class such as
language-js), quotes, rules and line breaks. - Colours, fonts, sizes, underline and layout have no Markdown, so they are not kept. Merged table cells become empty cells; a table inside a table becomes text.
- Pictures keep their address. Pictures embedded in the document (data URIs) are removed and counted. Pictures from Word usually point to a temporary file on that computer, so add them again later.
- Scripts, styles, comments and the head are dropped; Word's formatting junk (mso-*, o:p) and the Google Docs wrapper are cleaned, and Word lists come back as lists.
- The HTML is read by our own reader: nothing in it is opened or run, and broken HTML is converted as far as it can be read.
- For the other way, use Markdown to HTML.
Your data stays on your device
Everything happens in your browser. The text and files are not sent to the freesabai server or anywhere else, and nothing is kept in the browser. The site only counts that someone opened this page and how many times Copy or Download was used (not the content; you can turn counting off at the bottom of the site, see the privacy policy).
Report a problem or suggest something
Found a document that does not convert right? Tell us on the feedback page, no sign-up needed.
More file converters
Thai text files
Subtitles
ZIP and TAR archives
- Unzip with Thai file namesZIPs from Thai Windows whose names show as garbage: extract or re-zip readable
- Extract ZIP filesOpen a ZIP, browse its folders, save files or extract to a folder, password ZIPs too
- Create a ZIP filePut files or a whole folder in a ZIP, with an AES-256 password if you like
- Open TAR, TAR.GZ, TGZ and GZOpen .tar.gz, .tgz, .tar or .gz files: save each file or all as a ZIP
- Create a TAR.GZ filePack files or a folder into .tar.gz or .tar, or gzip one file to .gz
Images
- SVG to PNG, JPG, WebPSVG to PNG at any size, transparent or coloured background, many files at once
- Favicon and ICO generatorA favicon.ico with several sizes, and the full icon set with the code
- GIF to framesSplit a GIF into PNG frames with their delays, one by one or as a ZIP
- GIF maker from imagesMake an animated GIF from pictures: order, delays, size and loops
- BMP and TIFF converterTIFF to JPG or PNG, BMP to PNG, and pictures to BMP or TIFF
Excel and Word files
- Excel to CSV / JSONOpen an xlsx, pick a sheet, get a CSV that keeps Thai intact or JSON; every sheet in one ZIP
- CSV / JSON to ExcelA real xlsx: leading zeros and Thai kept, several files as several sheets
- Word to text / HTMLOpen a docx, get plain text, HTML or Markdown with headings, lists, tables, links and pictures
HTML, Markdown, JSON and XML
- HTML / Word / Google Docs to MarkdownPaste from Word, Google Docs or a web page and get Markdown with tables and lists
- Markdown to HTMLA .md file as a readable .html page or just the content
- JSON to XMLSet the root name; @name keys become attributes; Thai keys work
- XML to JSONRSS, sitemaps or exports to JSON, with the line of any mistake
Contacts and calendars
Questions and answers
How do I turn a Word or Google Docs document into Markdown?
Open the document, select the text and press Ctrl+C, then click the left box here and press Ctrl+V. The Markdown appears at once, with headings, lists and tables.
Why are the pictures from Word missing?
Pictures copied from Word usually point to a temporary file on that computer, and embedded pictures are too long for Markdown. Save them as files and link them yourself.
Where did colours, fonts and underline go?
Markdown has no such formatting, so only the structure is kept: headings, bold, italic, strikethrough, links, pictures, lists, tables and code.
Rate this tool
Tap the stars, then add a word if you like
Thank you! Your rating helps make the tool better
No sign-up. No name or e-mail is kept; a comment is kept for 3 months · Details