PHP Array to Excel Converter
Convert any PHP array to Excel or CSV. Supports indexed, associative, nested, multidimensional and array() syntax. No server needed, 100% browser-based.
About PHP Array to Excel
Paste any PHP array and instantly download it as a structured Excel spreadsheet or CSV file. Handles all array types: simple indexed arrays, associative arrays, arrays of arrays, nested objects, and multidimensional arrays. Supports both short [] and legacy array() syntax, with or without a variable assignment. Choose how to handle nested arrays β flatten with dot notation, show as JSON string, or skip nested values.
Frequently Asked Questions
What array types are supported?
All types: indexed, associative, nested, multidimensional, array() syntax, and short [] syntax, with or without $variable assignment.
Does it handle nested arrays?
Yes β choose to flatten nested keys with dot notation (e.g. address.city), convert to JSON string, or skip nested values.
Can I export to CSV instead of Excel?
Yes β toggle between Excel (.xlsx) and CSV download formats.
Is it free?
Yes, completely free, no signup required.