Convert PList to PHP Array

Form for PList converting

This form allows you convert PList to PHP Array, paste or upload your .plist file below:


Your result can be seen below.

Result of PList conversion to PHP Array


Move to "Paste Code" for Save it

About PList conversion to PHP Array

About PList XML conversion to PHP Array

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

How it Works?

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

Example of PList conversion to PHP Array

Before:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Website</key>
    <string>wtools.io</string>
    <key>Safe</key>
    <true/>
    <key>Count of tools</key>
    <integer>225</integer>
    <key>price</key>
    <real>100.23</real>
    <key>Menu</key>
    <array>
        <string>Sandbox</string>
        <string>Paste Code</string>
        <string>Snippets</string>
        <string>Generators</string>
        <string>Checks</string>
        <string>Convertors</string>
    </array>
</dict>
</plist>
After:
[
  'Website' => 'wtools.io',
  'Safe' => true,
  'Count of tools' => 225,
  'price' => 100.23,
  'Menu' => [
    0 => 'Sandbox',
    1 => 'Paste Code',
    2 => 'Snippets',
    3 => 'Generators',
    4 => 'Checks',
    5 => 'Convertors',
  ],
]
After the conversion, you can apply the PHP array to your project or use it for some other purpose.
Donate

Did you like this tool? You can donate to us. This will help us improve our free web tools.

Paypal