Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A Python script for saving your Tumblr blog to your hard drive as HTML or CSV.

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 beautifulsoup @ 045890b Added BeautifulSoup as a submodule. April 24, 2011
Octocat-spinner-32 .gitmodules Added BeautifulSoup as a submodule. April 24, 2011

Copyright © 2009, Brendan Doms
Licensed under the MIT license

Tumblr Backup is a tool for making a local backup of your Tumblr account.


To backup your account, just include the URL of your Tumblr website:


If you use a custom domain, then that will also work:


By default, a new folder with post data saved in individual HTML files will be created, and resources like images will be saved in appropriately named subfolders. The alternative is to save the post data in a single CSV file, behavior which you can specify via the command line option csv like so:

python --csv=true

You can also specify a different directory to save to with the command line option save_folder:

python --save_folder=/path/to/folder

Supported Post Types

Tumblr has a lot of different types of posts. The ones currently supported by Tumblr Backup are:

  • Regular
  • Photo
  • Quote
  • Link


Tumblr allows you to add "tags" to posts. Tumblr Backup supports tags on any post type by simply adding a list of all the tags for a post to the bottom of the page if in HTML mode, or as its own pipe ( | ) separated list if in CSV mode.


Private accounts requiring authentication are not currently supported.

The default encoding is UTF-8. If you wish to change this, you can simply modify or override the global ENCODING variable.

Something went wrong with that request. Please try again.