Convert JSON to PHP Array Online

Form for JSON converting

This form allows you convert JSON to PHP Array:

Your result can be seen below.

Result of JSON conversion to PHP Array

Move to "Paste Code" for Save it

About JSON conversion to PHP Array

About JSON conversion to PHP Array

The Convert JSON to PHP array was created for online converting JSON into appropriate PHP type as Array. This can come in handy for testing or debugging your JSON, also for fast formatting and adding an array of PHP to your config or anywhere else.

How it Works?

Just paste your JSON to the textarea above and click to the button "Convert" and you will get PHP array in the next textarea.

Example of JSON conversion to PHP Array

{"website":{"domain":"","title":"Online Web Tools"}}
array (
  'website' =>
  array (
    'domain' => '',
    'title' => 'Online Web Tools',
After the conversion, you can apply the PHP array to your project or use it for some other purpose.

Do you find this tool useful? Then share it with your friends or colleagues. This will help us to make our free web tools better.