Galen Gidman

HTML to Markdown Converter

While I was migrating my blog, I ran across the need to convert my HTML-formatted posts to Markdown. Surprisingly, there are few good tools to do this quickly, but the best I found was to-markdown.js by Dom Christie.

The only weird thing about his app is for some reason he seems to have copying disabled in the Markdown output box. It looks like Dom has reworked the app a bit and this has been fixed.

7 Comments

  1. Hey Galen,

    Thanks for mentioning to my HTML to Markdown conversion project.

    Copying Markdown output was not intentionally disabled, it was just a bug which has now been fixed.

    Thanks again.

  2. Pandoc is great at this, and there’s a hosted version here as well: http://devotter.com/converter

    It does way more than just HTML to markdown.

  3. It converts this HTML markup: http://pastebin.com/UiGTd9Dj into some mess.

  4. Thanks for posting this Galen, I couldn’t find a proper Markdown to HTML converter via Google, but found your post 🙂

    Thanks! (and indirectly of course also thanks to Dom for creating it!)
    Oliver

  5. There’s always Pandoc! It’s a pretty handy tool to have around

    sudo apt-get install pandoc || brew install pandoc
    for URL in “website1.com website1.com/about.html”; do
    pandoc -f html -t markdown $URL > $URL.md
    done

Leave a Reply