I’ve being using Blogger for couple of years now. It is a very easy to use and a free service to start a blog. However, Blogger is limited when it comes to customizations. When I was looking for alternatives, I found out Jekyll, an open source static site generator.

Jekyll provides a fully customizable framework to write a blog using a markup language, maintain it using GitHub and publish using GitHub Pages. Jekyll Quickstart page contains step by step instructions on how to create a Jekyll site and run it locally.

Once you have the site running locally, you are ready to migrate your blog from Blogger to the new Jekyll site. Follow the export and import steps below:

Exporting your blog from Blogger

Sign in to your Blogger dashboard, go to Settings > Manage blog > Back up content. You will be able to download the back up blog-MM-DD-YYYY.xml file from there.

Importing your blog to Jekyll

Once you have the blog-MM-DD-YYYY.xml file, you’ll need to install jekyll-import ruby gem using the following command:

$ gem install jekyll-import

Then run the following:

$ ruby -r rubygems -e 'require "jekyll-import";
      "source"                => "/path/to/blog-MM-DD-YYYY.xml",
      "no-blogger-info"       => false, # not to leave blogger-URL info (id and old URL) in the front matter
      "replace-internal-link" => false, # replace internal links using the post_url liquid tag.

That is it! Now you have all your blogs from Blogger under the _posts directory on your Jekyll project.