Table Editor
Fullscreen
Table Generator

How to Convert XML to PHP Array Online Online?

1. Upload or paste your XML

Before you start using the XML converter, double check to make sure your XML is formatted as an array of objects. You can check out a demo by clicking the Example in the Data Source section. And remember, you can also upload your XML by clicking Upload XMl or simply dragging and dropping it.

2. Edit your XML online if needed

Edit your data online like Excel through Table Editor, and the changes will be converted into PHP Array in real-time.

3. Copy the converted PHP Array

Just copy the generated php array code in Table Generator, and paste it into your php file for testing.

Note: Your data is secure. All conversions are done in your web browser, and we do not store any of your data.

What is XML?

.xml

XML stands for eXtensible Markup Language. XML file is a markup language much like HTML and it was designed to store and transport data.

What is PHP?

.php

PHP (recursive acronym for PHP Hypertext Preprocessor ) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML.

Would you recommend this online tool to your friends?