Title: Convert Blocks to JSON
Author: badasswp
Published: <strong>2024年9月27日</strong>
Last modified: 2026年5月26日

---

プラグインを検索

![](https://ps.w.org/convert-blocks-to-json/assets/banner-772x250.png?rev=3158861)

![](https://ps.w.org/convert-blocks-to-json/assets/icon-256x256.png?rev=3158861)

# Convert Blocks to JSON

 作者: [badasswp](https://profiles.wordpress.org/badasswp/)

[ダウンロード](https://downloads.wordpress.org/plugin/convert-blocks-to-json.1.3.2.zip)

 * [詳細](https://ja.wordpress.org/plugins/convert-blocks-to-json/#description)
 * [レビュー](https://ja.wordpress.org/plugins/convert-blocks-to-json/#reviews)
 *  [インストール](https://ja.wordpress.org/plugins/convert-blocks-to-json/#installation)
 * [開発](https://ja.wordpress.org/plugins/convert-blocks-to-json/#developers)

 [サポート](https://wordpress.org/support/plugin/convert-blocks-to-json/)

## 説明

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.

✔️ 複数のWordPressサイト間で**WPブロックのインポートとエクスポート**ができます。

✔️ **WPブロックをJSONに変換**を簡単かつ迅速に行えます。 ✔️ **Headless CMSサイト**
やReact、Vueなどを使用するフロントエンドプロジェクトに便利です。 ✔️ アラビア語、
中国語、ヘブライ語、ヒンディー語、ロシア語、ドイツ語、イタリア語、クロアチア語、
スペイン語、フランス語、日本語、インドネシア語、トルコ語、ポーランド語、オランダ
語、デンマーク語、ブラジルポルトガル語、ポルトガル語など**複数の言語**で利用でき
ます。 ✔️ プラグインを思いどおりにカスタマイズできる複数の**カスタムフック**を備え
ています。 ✔️ **後方互換性**があり、ほとんどのWPバージョンで動作します。

#### ✨ はじめに

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:

 1. **View JSON** – Generate JSON data of the post you are working on.
 2. **Import JSON** – Import JSON data from a JSON file to the post you are working
    on.
 3. **Export JSON** – Export JSON data of the post to a JSON file.

[デモ](https://tastewp.com/create/NMS/8.0/6.7.0/convert-blocks-to-json/twentytwentythree?ni=true&origin=wp)
リンクを使用して、この動作を体験できます。

#### ✨ Why can’t I upload JSON files?

`wp-config.php`ファイルで`ALLOW_UNFILTERED_UPLOADS`オプションを次のように設定する
必要がある場合があります:

    ```
    define( 'ALLOW_UNFILTERED_UPLOADS', true );
    ```

#### ⚡ Why Convert Blocks to JSON

 1. This plugin is useful for users who want to be able to **import** and **export**
    articles or posts between different WordPress sites easily.
 2. 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](https://github.com/badasswp/convert-blocks-to-json).
You can override the plugin’s behaviour with custom logic of your own using [hooks](https://github.com/badasswp/convert-blocks-to-json?tab=readme-ov-file#hooks).

### 貢献

If you’d like to contribute to the development of this plugin, you can find it on
[GitHub](https://github.com/badasswp/convert-blocks-to-json).

To build, clone repo and run `yarn install && yarn build`

## スクリーンショット

[⌊Convert Blocks to JSON icon - Convert your blocks to JSON and vice versa.⌉⌊Convert
Blocks to JSON icon - Convert your blocks to JSON and vice versa.⌉[

Convert Blocks to JSON icon – Convert your blocks to JSON and vice versa.

[⌊Convert Blocks to JSON options - View, Import Blocks & Export Blocks.⌉⌊Convert
Blocks to JSON options - View, Import Blocks & Export Blocks.⌉[

Convert Blocks to JSON options – View, Import Blocks & Export Blocks.

[⌊Convert Blocks to JSON sidebar - See Convert Blocks to JSON on sidebar.⌉⌊Convert
Blocks to JSON sidebar - See Convert Blocks to JSON on sidebar.⌉[

Convert Blocks to JSON sidebar – See Convert Blocks to JSON on sidebar.

## インストール

 1. Go to ‘Plugins > Add New’ on your WordPress admin dashboard.
 2. Search for ‘Convert Blocks to JSON’ plugin from the official WordPress plugin repository.
 3. 「今すぐインストール」をクリックし、その後「有効化」をクリックします。
 4. ブロックエディターに進み、右上隅を確認します。
 5. これで、使用可能な「Convert Blocks to JSON」アイコンが表示されるはずです。

## 評価

このプラグインにはレビューがありません。

## 貢献者と開発者

Convert Blocks to JSON はオープンソースソフトウェアです。以下の人々がこのプラグイン
に貢献しています。

貢献者

 *   [ badasswp ](https://profiles.wordpress.org/badasswp/)
 *   [ activist507 ](https://profiles.wordpress.org/activist507/)

“Convert Blocks to JSON” は5ロケールに翻訳されています。 [翻訳者](https://translate.wordpress.org/projects/wp-plugins/convert-blocks-to-json/contributors)
のみなさん、翻訳へのご協力ありがとうございます。

[“Convert Blocks to JSON” をあなたの言語に翻訳しましょう。](https://translate.wordpress.org/projects/wp-plugins/convert-blocks-to-json)

### 開発に興味がありますか ?

[コードを閲覧](https://plugins.trac.wordpress.org/browser/convert-blocks-to-json/)
するか、[SVN リポジトリ](https://plugins.svn.wordpress.org/convert-blocks-to-json/)
をチェックするか、[開発ログ](https://plugins.trac.wordpress.org/log/convert-blocks-to-json/)
を [RSS](https://plugins.trac.wordpress.org/log/convert-blocks-to-json/?limit=100&mode=stop_on_copy&format=rss)
で購読してみてください。

## 変更履歴

#### 1.3.2

 * Tested up to WP 7.0

#### 1.3.1

 * Chore: Update CI/CD pipeline.

#### 1.3.0

 * Feat: Add language translations for Japanese, Indonesia, Turkish, Polish, Dutch,
   Danish, Brazil, Portuguese.
 * Feat: Add Image import functionality across websites.
 * Feat: Add custom hooks – `cbtj.afterImport`, `cbtj.innerBlocks`.
 * Feat: Add Notification modal during import.
 * Feat: Clear previous notifications before starting import.
 * Fix: Import issues with `core/list` and `core/list-item` blocks.
 * Fix: Import issues with `core/pargraph` block.
 * Fix: Import issues with `core/heading` block.
 * Fix: Import issues with `core/details` block.
 * Fix: Import issues with `core/pullquote` block.
 * Fix: Import issues with `core/cover` block.
 * Fix: Import issues with `core/table` block.
 * Fix: Import issues with `core/quote` block.
 * Fix: Import issues with `core/media-text` block.
 * Fix: Import issues with `core/gallery` block.
 * Fix: Import issues with `core/audio` block.
 * Fix: Import issues with `core/video` block.
 * Fix: Import issues with `core/footnotes` block.
 * Fix: Incorrectly quoted translation bits.
 * Refactor: Replace `get_400_response` with `get_error_response`.
 * Test: Add e2e tests for plugin codebase.
 * Chore: Add pull request template to repo.
 * Docs: Update README docs.
 * Tested up to WP 6.9.

#### 1.2.1

 * Specify `wordpress-plugin` as Composer package type.
 * Tested up to WP 6.9.

#### 1.2.0

 * Fix: Resolve `Image` block import issues.
 * Fix: Missing post title during import.
 * Feat: Add custom hooks `cbtj_import_block`, `cbtj_export_block`, `cbtj_blocks`.
 * Test: Add PHP unit tests to improve code.
 * Docs: Update README docs.
 * Tested up to WP 6.8.

#### 1.1.0

 * Feat: Add REST namespace filter `cbtj_rest_namespace`.
 * Refactor: Use classes for PHP codebase.
 * Docs: Improve README docs.
 * Tested up to WP 6.7.2.

#### 1.0.9

 * Bump up plugin version.
 * Tested up to WP 6.8
 * Update README docs.

#### 1.0.8

 * Enforce WP style linting across plugin.
 * Add local dev env setup for WP.
 * Update README docs.
 * Tested up to WP 6.7.2.

#### 1.0.7

 * Ensure `REST` response for blocks’ imports & exports.
 * Update Hook names `cbtj_rest_response` to `cbtj_rest_export`.
 * Update function names.
 * Update README docs.
 * Tested up to WP 6.7.2.

#### 1.0.6

 * Fix breaking/faulty dependency.
 * Fix linting issues.
 * Tested up to WP 6.7.1.

#### 1.0.5

 * Fix CI/CD build process.
 * Update README text content.
 * Bump up plugin version.
 * Tested up to WP 6.7.0.

#### 1.0.4

 * Provide graceful fallback for block arrays.
 * Filter out empty|null blocks.
 * Ignore `file_get_contents` warning.
 * Update Permalink structure if empty, flush rules.
 * Tested up to WP 6.6.2.

#### 1.0.3

 * Replace `mt_rand` with `string` version for asset enqueuing.
 * Fix Bugs and Linting issues.
 * Updated README notes with screenshots.
 * Tested up to WP 6.6.2.

#### 1.0.2

 * Refactor: Use `is_user_permissible` for permissions callback.
 * Updated Unit Tests coverage.
 * Tested up to WP 6.6.2.

#### 1.0.1

 * Added Import functionality.
 * Custom Hooks – `cbtj_rest_import`.
 * New custom REST API endpoint – `cbtj/v1/import`.
 * Updated translation files to cater for Import modal window text translations.
 * Added more Unit Tests coverage.
 * Tested up to WP 6.6.2.

#### 1.0.0

 * Convert & Export Blocks to JSON.
 * Custom Hooks – `cbtj_rest_response`.
 * Provided support for Arabic, Chinese, Hebrew, Hindi, Russian, German, Italian,
   Croatian, Spanish & French languages.
 * Unit Tests coverage.
 * Tested up to WP 6.6.1.

## メタ

 *  バージョン **1.3.2**
 *  最終更新日 **5か月前**
 *  有効インストール数 **30+**
 *  WordPress バージョン ** 4.0またはそれ以降 **
 *  検証済み最新バージョン: **7.0.7**
 *  PHP バージョン ** 7.4またはそれ以降 **
 *  言語
 * [Croatian](https://hr.wordpress.org/plugins/convert-blocks-to-json/)、[English (US)](https://wordpress.org/plugins/convert-blocks-to-json/)、
   [Italian](https://it.wordpress.org/plugins/convert-blocks-to-json/)、[Russian](https://ru.wordpress.org/plugins/convert-blocks-to-json/)、
   [Spanish (Chile)](https://cl.wordpress.org/plugins/convert-blocks-to-json/)、
   [Spanish (Spain)](https://es.wordpress.org/plugins/convert-blocks-to-json/).
 *  [プラグインを翻訳](https://translate.wordpress.org/projects/wp-plugins/convert-blocks-to-json)
 * タグ
 * [blocks](https://ja.wordpress.org/plugins/tags/blocks/)[convert](https://ja.wordpress.org/plugins/tags/convert/)
   [editor](https://ja.wordpress.org/plugins/tags/editor/)[gutenberg](https://ja.wordpress.org/plugins/tags/gutenberg/)
   [JSON](https://ja.wordpress.org/plugins/tags/json/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/convert-blocks-to-json/advanced/)

## 評価

レビューはまだ送信されていません。

[Your review](https://wordpress.org/support/plugin/convert-blocks-to-json/reviews/#new-post)

[すべてのレビューを見る](https://wordpress.org/support/plugin/convert-blocks-to-json/reviews/)

## 貢献者

 *   [ badasswp ](https://profiles.wordpress.org/badasswp/)
 *   [ activist507 ](https://profiles.wordpress.org/activist507/)

## サポート

意見や質問がありますか ?

 [サポートフォーラムを表示](https://wordpress.org/support/plugin/convert-blocks-to-json/)