Convert JSON to PHP Array

Use this JSON to PHP converter tool by pasting or uploading JSON in the left box below. Results will appear in the box on the right. Convert your JSON to a PHP array.

Input (JSON) - Paste your JSON here

Output (PHP) - The converted PHP

Converter Options

Want to convert PHP to JSON instead? Use the PHP to JSON Converter Tool.

Need an example of what JSON looks like? Get example JSON.

How to use JSON to PHP Conversion Tool

  1. Paste your JSON input into the left input box and it will automatically convert it into PHP.
  2. The PHP output is the box to the right.
  3. If there are any errors in the JSON and the converter isn't able to do the conversion, the error message will appear in the output box letting you know where the error was found in the JSON.
  4. Use the control box to select options that will affect the conversion.
  5. Your JSON data is secure. ConvertSimple's converter does not send your JSON data to our servers for conversion, the process is done completely in your web browser. That's what makes ConvertSimple's converter the safest and fastest converter out there.

JSON Format

Name JSON
Full form name JavaScript Object Notation
File extension .json
Type of format Object Notation
MIME type application/json

PHP Format

Name PHP
Full form name Hypertext Preprocessor / Personal Home Page
File extension .php
Type of format Programming Language
MIME type application/x-httpd-php

Related Tools