đźšš How to migrate to Kirby Tips & tutorials
Skip to content

Migrating to Kirby

If you're moving from another platform or CMS, this guide will help you understand the essentials, give you pointers to relevant documentation and resources, and smooth the process of setting up your new Kirby site to make the transition as seamless as possible.

Understanding Kirby

Before diving into the migration, it's important to familiarize yourself with Kirby's unique features:

  • Take our Starterkit tour to better understand what Kirby is all about.
  • Watch our screencast series for step-by-step video tutorials that explain basic to advanced features.
Screencast

Feel at home in your Kirby installation

Getting started with Kirby? Let's explore our Starterkit and see where to find stuff.

This video is loaded from YouTube servers with your consent. Read more…

Kirby has some incredibly simple yet powerful concepts to tackle features you might seek:

  • Custom fields: Kirby's content fields are incredibly flexible. They are custom by default: Easily define any you need to create a tailored editing experience.
  • Custom posts/page types: Kirby uses templates and blueprints to create page types that have a specific look and functionality in the frontend as well as in the Panel, giving you full control over each content type.
  • Editor experience: Kirby’s Panel interface makes editing easy without needing to touch the filesystem. Content is saved in flat files using a lightweight syntax, but editors do not need to worry about Markdown if they don't want to — the Panel takes care of it.

Prepare your Kirby setup

  1. Install Kirby: Start by installing Kirby locally or on your server to get comfortable.

  2. Create your templates: Convert your existing templates into Kirby templates. You'll use HTML and PHP, and Kirby offers flexibility to replicate the look and structure of your old site.

  3. Set up blueprints: In Kirby, blueprints define how pages, files and users are displayed in the backend Panel. What fields they have, what types these fields are, how they should be laid out. This is where you can model your content structure as it existed in your previous CMS or take the opportunity to improve it.

Migrate your content and data

The crucial step in your migration is to move all your content and data – pages, media files etc. – to your new Kirby site. There are two approaches to this

Exporting data

If you are very familiar with your existing CMS, you could set up a script, plugin or similar that exports the data already in the right format for Kirby: a folder per page with a text file that has the name of the corresponding template and contains all your page fields, as well as media files alongside of the text file that belong to the page.

Screencast

The content folder

The heart and soul of your Kirby installation: Let's learn how to create pages and add content with simple text files and folders.

This video is loaded from YouTube servers with your consent. Read more…

Importing data

If exporting in the right format for Kirby is not an option, but you have the data from your old CMS in a structured format of any kind, you can turn it into Kirby pages, users or files by parsing the data and creating the Kirby content from it:

Screencast

How to import data into Kirby

In this video you will learn how to use the Kirby CLI to create pages from a dataset. No matter if you are importing data from an existing CMS, a JSON API, an Excel sheet or any other source – this tutorial will provide a good foundation.

This video is loaded from YouTube servers with your consent. Read more…

Related docs

Migration tutorials

Learn from others who have already migrated their sites to Kirby and gain valuable tips for your own migration:

Existing plugins/scripts

Here are some plugins and/or scripts that could help kickstart your migration project. While they are likely not a ready-made solution, they can serve as a great starting point for your custom migration:

Hosting

Kirby is a lightweight CMS that doesn't require a database, making it compatible with a wide range of hosting environments. If your current host can run WordPress, it will most likely be able to run Kirby too. Check out our list of requirements for more details.

Popular hosting providers for Kirby include Hetzner, Uberspace, Infomaniak and Krystal. These hosters offer excellent compatibility with Kirby, reliable performance, and good customer support, making them ideal choices for hosting your Kirby site.

Why others choose Kirby

With Kirby, we found a CMS that’s easy for clients to use, gives our designers freedom, and is fun for developers.

Kirby will be a vital part of our business in the future and we can't wait to create some new Kirby websites.

Kirby isn't just a simple hammer; it's more like a well-thought-out toolbox with high-quality tools.

As an alternative to…

The Kirby ecosystem

Ready to migrate?

Migrating from your existing CMS to Kirby may feel like a big step, but the flexibility and simplicity that Kirby offers is well worth it. With the resources provided here, you'll have a clear path to making Kirby your new home.

Take your time

You can explore Kirby for free for as long as you need. Complete your migration and decide if it's the perfect new home. Test your Kirby site in a local environment or on a staging server. When you're ready, it's time to get your Kirby license—but we want to make sure you're happy first.