Table Editor
Fullscreen
Table Generator

How to Convert CSV to PHP Array Online ?

1. Upload or paste your CSV

Paste your CSV data, or click Upload CSV to upload a CSV file, or drag-and-drop a CSV file to the Data Source panel, the CSV converter will execute the conversion magic immediately. Don’t worry about the CSV delimiter, the converter will automatically determine the delimiter, it supports comma, tab, colon, semicolon, pipe, slash, octothorpe and more.

2. Edit your CSV online, if needed

You can 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, the converts is done completely in your web browser and we will not store any of your data.

What is CSV?

.csv

.tsv

CSV stands for Comma-Separated Values. CSV file format is a text file that has a specific format which allows data to be saved in a table structured format.

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?