Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

How to Import / Export Your WordPress Gutenberg Blocks (2 Steps)

Editorial Note: We earn a commission from partner links on WPBeginner. Commissions do not affect our editors' opinions or evaluations. Learn more about Editorial Process.

Do you want to learn how to import or export Gutenberg blocks?

The WordPress editor allows you to save your content as custom blocks and then export them to another WordPress website. This can save you a ton of time if you own multiple sites or create websites for clients.

In this article, we will show you how to easily export your WordPress Gutenberg blocks and import them to use on other sites.

How to export your Gutenberg blocks

Why Import / Export Your WordPress Gutenberg Blocks?

The WordPress block editor allows you to add content as blocks and then customize those blocks. For example, you might create a call to action using the Buttons block.

You can then make that button stand out by changing its background color, making the text bigger, and more. If you plan to use this content again, then you can save it as a reusable block in WordPress.

Creating a reusable block in WordPress

However, you can also export these reusable blocks and then use them on other websites. This can save you a ton of time and effort if you own multiple sites or you are a WordPress development agency that creates sites for clients.

With that being said, let’s see how you can import / export Gutenberg WordPress blocks.

How to Import / Export Your WordPress Gutenberg Blocks

If you haven’t already, then you’ll need to save the content you want to export as a reusable block. With that done, click on the ‘+’ button inside the WordPress content editor.

The WordPress content editor

In the panel that appears, select the ‘Reusable’ icon.

You can then click on ‘Manage Reusable blocks.’

Managing reusable WordPress blocks

This takes you to a screen where you can see all your reusable blocks.

Simply hover over the block you want to export, and then click on the ‘Export as JSON’ link when it appears.

Exporting a WordPress block as a JSON file

WordPress will now download the block to your computer as a JSON file.

To import the block into another WordPress blog or website, log in to that site and open the content editor. Then, follow the same process described above to open the block management screen.

This time, click on the ‘Import from JSON button’ instead. In the popup that appears, select ‘Choose file.’

Choose file to import block in Gutenberg

You can now select the JSON file you downloaded earlier.

After that, click on ‘Import.’

Importing a block as a JSON file

WordPress will now import the reusable block.

With that done, you can use the imported block on your WordPress website in exactly the same way you use any other reusable block.

Additional Resources on WordPress Blocks

Here are some more useful guides on using and managing WordPress blocks:

We hope this article helped you learn how to import/export your WordPress Gutenberg blocks to use on other websites. You may also want to see our expert pick of the best drag and drop WordPress page builders or our guide on how to set up Google Analytics goals for your WordPress site.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

5 CommentsLeave a Reply

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Alan says

    Hello,

    Great information. Thanks for sharing.

    I have a question…
    Is it possible to export an entire page made up of many blocks? I can do this in Elementor and use this feature all the time.

    Thanks in advance

    • WPBeginner Support says

      You could export a page using Tools>Export and import it on to a new site if that’s what you mean.

      Admin

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.