HTML 2 Tumblr

This website lets you convert HTML documents to tumblr post drafts. Please note that this website is not associated with or endorsed by tumblr.

How does it work?

  1. Login with your tumblr account
  2. Upload an HTML file
  3. The generated tumblr post will be saved to your drafts, where you can edit and publish it

Does this site steal my data?

No, this site doesn't store any data about you. When you connect with a tumblr account, the tumblr access token is stored as a cookie in your browser. When you upload an HTML file, it is converted into a tumblr post and sent to the tumblr API as a post draft.

Is this site open source?

The code for converting HTML into tumblr posts is open source under the Apache-2.0 license: or

The website itself is in a separate repository, but under the same license: or

Something's not working!

Please tell me! Send an email to

Include in the email what you did, what you expected to happen and what actually happened.

Is there an API?

Yes, send a POST request with text/html content to

The response will be a JSON structure that conforms to the tumblr Neue Post Format. You can then send that structure to the tumblr API.

For example:

curl \
    -H 'content-type: text/html; charset=utf-8' \
    -d '<p>The <span style="color:#ff0000">cake</span> is a <b>lie</b>!</p>' \
        | jq

  "content": [
      "type": "text",
      "text": "The cake is a lie!",
      "formatting": [
          "start": 4,
          "end": 8,
          "type": "color",
          "hex": "#ff0000"
          "start": 14,
          "end": 17,
          "type": "bold"