30+
September 21, 2025
September 27, 2024
This plugin offers a powerful solution for importing and exporting WordPress blocks in JSON format, making it easy to move posts across different WP websites. It is also beneficial for WP engineers who are adopting a Headless CMS approach and would like a way to be able to fetch data from the front-end using tools like React, Vue & so on.
It’s simple, yet very powerful!
Our plugin comes with everything you need for your WP blocks.
✔️ Import & Export WP blocks across multiple WordPress websites.
✔️ Convert WP blocks to JSON easily & quickly.
✔️ Useful for Headless CMS websites or front-end projects working with React, Vue & so on.
✔️ Available in mutiple langauges such as Arabic, Chinese, Hebrew, Hindi, Russian, German, Italian, Croatian, Spanish & French languages.
✔️ Backward compatible, works with most WP versions.
Create a new Post or open an existing Post. Locate the Convert Blocks to JSON icon at the top right corner of the Block Editor and click on it. From here you can do the following actions:
You can get a taste of how this works, by using the demo link.
This plugin is useful for users who want to be able to import and export articles or posts between different WordPress sites easily.
This plugin is beneficial for WP engineers who are adopting a Headless CMS approach and would like a way to be able to fetch data from the front-end using tools like React, Vue & so on.
The Convert Blocks to JSON plugin is built to work right out of the box. Simply install, activate and start using in your Block Editor.
Want to add your personal touch? All of our documentation can be found here. You can override the plugin’s behaviour with custom logic of your own using hooks.
If you’d like to contribute to the development of this plugin, you can find it on GitHub.
To build, clone repo and run yarn install && yarn build
No FAQ provided.
cbtj_rest_namespace
.REST
response for blocks’ imports & exports.cbtj_rest_response
to cbtj_rest_export
.file_get_contents
warning.mt_rand
with string
version for asset enqueuing.is_user_permissible
for permissions callback.cbtj_rest_import
.cbtj/v1/import
.cbtj_rest_response
.