Convert WordPress to Gatsby Blog with this Command Line Tool on January 17, 2019 rated 4.6 of 5

Convert WordPress to Gatsby Blog with this Command Line Tool

0 Comments
Editor Ratings:
User Ratings:
[Total: 0    Average: 0/5]




Convert WordPress to Gatsby Blog with this Command Line Tool on January 17, 2019 rated 4.6 of 5

Gatsby WordPress Migrate is free tool to convert WordPress to Gatsby blog. This is a command line tool which takes WordPress export file and then saves all the posts to the specified directory. You can use this simple tool to convert all the posts from WordPress to Gatsby compatible format which is markdown. You just have to use one simple command to start the conversion process. This tool relies on Node.js and you can use this in your own applications as well. However, there are some warnings that it shows in CLI but it will be fixed soon.

Gatsby is a popular CMS these days. If you are thinking of migrating your current WordPress site to Gatsby then you this tool will help you. All you have to do is fed the XML export from WordPress to this tool and it will take care of the rest. It extracts all the posts precisely from the export file and then converts them in to markdown. If you know about batch files then you can use this simple tool to convert multiple WordPress exports to Gatsby as well.

Convert WordPress to Gatsby Blog Posts with this Command Line Tool

How to Convert WordPress Posts to Gatsby Blog Posts with this Command Line Tool?

There are just 2 simple steps to install this command line tool on your PC. Make sure that you have Node.js installed and then simply run the following command to install this tool. The following command will install all the dependencies and you will be able to call it from the command line.

npm install -g gatsby-wordpress-migrate

npm install gatsby wordpress

Now, you can start using this tool to convert WordPress to Gatsby. Simple log in to WordPress account and then export all the posts. For that, use the Tools > Export option. It will give you an XML file that you will need.

WordPress export

Get back to the command prompt and navigate to the directory where you have downloaded the WordPress export. Now, simply run the following command and then wait for a few seconds. It will convert all the posts and will save them to the destination you provide.

wordpress2gatsby WordPressXMlFile DestinationFodler

WordPress gatsby export in action

In this way, you can use this simple tool to convert WordPress posts to Gatsby blog posts. All you have to do is run a simple command and it will take care of rest of the process.

Final words

If you have a site in WordPress and want to migrate to Gatsby then this post will help you. There are some other ways to do the same but if you want to do it from command line then this post will be so useful. Just run a simple command and convert WordPress XML to Gatsby Markdown.

Convert WordPress to Gatsby Blog with this Command Line Tool on January 17, 2019 rated 4.6 of 5
Convert WordPress to Gatsby Blog with this Command Line Tool on January 17, 2019 rated 4.6 of 5
Editor Ratings:
User Ratings:
[Total: 0    Average: 0/5]
Free/Paid: Free
Convert WordPress to Gatsby Blog with this Command Line Tool on January 17, 2019 rated 4.6 of 5