πŸ”
Web Tools

PHP print_r to Excel Converter Online

Convert PHP print_r() output to Excel or CSV instantly. Paste any print_r array output and download as .xlsx with multi-sheet support.

πŸ”’ Runs in your browser β€” files never leave your device
πŸ–¨οΈ PHP print_r to Excel Converter

About PHP print_r to Excel

Paste the text output of PHP's print_r() function and instantly convert it into a structured Excel spreadsheet. Supports simple arrays, nested arrays, multi-level objects, and mixed data. Deeply nested values are auto-flattened into columns. Complex arrays become separate sheets automatically.

πŸ–¨οΈ
Type
Browser-based β€” instant, no server
πŸ’°
Price
Free forever, no account needed
πŸ“‹
Category
Web Tools

Frequently Asked Questions

What format does this tool accept?

Paste the raw text output of PHP's print_r() function β€” the format that starts with "Array\n(\n [key] => value\n)". Do not paste PHP source code.

How is this different from PHP Array to Excel?

PHP Array to Excel accepts PHP source code syntax ($data = [...]). This tool accepts the printed output of print_r() which has a different indentation-based format.

Does it handle nested arrays?

Yes. Deeply nested objects and arrays are automatically flattened into dot-notation columns (e.g. profile.social.twitter). You can also choose to show them as JSON or comma-joined values.

Can I download as CSV?

Yes β€” use the Download CSV button to export the currently active sheet as a CSV file.