{"id":408958,"date":"2024-09-27T08:00:00","date_gmt":"2024-09-27T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/convert-blocks-to-json\/"},"modified":"2025-09-21T12:33:00","modified_gmt":"2025-09-21T12:33:00","slug":"convert-blocks-to-json","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/convert-blocks-to-json\/","title":{"rendered":"Convert Blocks to JSON"},"content":{"rendered":"<p>This plugin offers a powerful solution for <strong>importing<\/strong> and <strong>exporting<\/strong> WordPress <strong>blocks<\/strong> in JSON format, making it easy to move posts across different WP websites. It is also beneficial for WP engineers who are adopting a <strong>Headless CMS<\/strong> approach and would like a way to be able to fetch data from the front-end using tools like <strong>React<\/strong>, Vue & so on.<\/p>\n<p>It\u2019s <strong>simple<\/strong>, yet very <strong>powerful<\/strong>!<\/p>\n<h4>\u2714\ufe0f Features<\/h4>\n<p>Our plugin comes with everything you need for your WP blocks.<\/p>\n<p>\u2714\ufe0f <strong>Import & Export WP blocks<\/strong> across multiple WordPress websites.<br \/>\n\u2714\ufe0f <strong>Convert WP blocks to JSON<\/strong> easily & quickly.<br \/>\n\u2714\ufe0f Useful for <strong>Headless CMS websites<\/strong> or front-end projects working with React, Vue & so on.<br \/>\n\u2714\ufe0f Available in <strong>mutiple langauges<\/strong> such as Arabic, Chinese, Hebrew, Hindi, Russian, German, Italian, Croatian, Spanish & French languages.<br \/>\n\u2714\ufe0f <strong>Backward compatible<\/strong>, works with most WP versions.<\/p>\n<h4>\u2728 Getting Started<\/h4>\n<p>Create a new Post or open an existing Post. Locate the <strong>Convert Blocks to JSON<\/strong> icon at the <strong>top right<\/strong> corner of the Block Editor and click on it. From here you can do the following actions:<\/p>\n<ol>\n<li><strong>View JSON<\/strong> \u2013 Generate JSON data of the post you are working on.<\/li>\n<li><strong>Import JSON<\/strong> \u2013 Import JSON data from a JSON file to the post you are working on.<\/li>\n<li><strong>Export JSON<\/strong> \u2013 Export JSON data of the post to a JSON file.<\/li>\n<\/ol>\n<p>You can get a taste of how this works, by using the <a href=\"https:\/\/tastewp.com\/create\/NMS\/8.0\/6.7.0\/convert-blocks-to-json\/twentytwentythree?ni=true&origin=wp\" rel=\"nofollow ugc\">demo<\/a> link.<\/p>\n<h4>\u26a1 Why Convert Blocks to JSON<\/h4>\n<ol>\n<li>\n<p>This plugin is useful for users who want to be able to <strong>import<\/strong> and <strong>export<\/strong> articles or posts between different WordPress sites easily.<\/p>\n<\/li>\n<li>\n<p>This plugin is beneficial for WP engineers who are adopting a <strong>Headless CMS<\/strong> approach and would like a way to be able to fetch data from the front-end using tools like <strong>React<\/strong>, Vue & so on.<\/p>\n<\/li>\n<\/ol>\n<h4>\ud83d\udd0c\ud83c\udfa8 Plug and Play or Customize<\/h4>\n<p>The <strong>Convert Blocks to JSON<\/strong> plugin is built to work right out of the box. Simply install, activate and start using in your Block Editor.<\/p>\n<p>Want to add your personal touch? All of our documentation can be found <a href=\"https:\/\/github.com\/badasswp\/convert-blocks-to-json\" rel=\"nofollow ugc\">here<\/a>. You can override the plugin\u2019s behaviour with custom logic of your own using <a href=\"https:\/\/github.com\/badasswp\/convert-blocks-to-json?tab=readme-ov-file#hooks\" rel=\"nofollow ugc\">hooks<\/a>.<\/p>\n<h3>Contribute<\/h3>\n<p>If you\u2019d like to contribute to the development of this plugin, you can find it on <a href=\"https:\/\/github.com\/badasswp\/convert-blocks-to-json\" rel=\"nofollow ugc\">GitHub<\/a>.<\/p>\n<p>To build, clone repo and run <code>yarn install && yarn build<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Convert your WP blocks to JSON. Import &#038; Export blocks across multiple WordPress websites. Generate JSON for your Headless CMS websites.<\/p>\n","protected":false},"author":65,"featured_media":408959,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"Convert Blocks to JSON - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"Convert your WP blocks to JSON. Import & Export blocks across multiple WordPress websites. Generate JSON for your Headless CMS websites."},"footnotes":""},"categories":[1],"tags":[745,5855,574,233,498],"class_list":["post-408958","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-blocks","tag-convert","tag-editor","tag-gutenberg","tag-json"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/408958","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=408958"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/408958\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/408959"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=408958"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=408958"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=408958"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}