MD Table input
Paste your MD Table below, then press Convert.
Waiting for input.
Convert MD Table to PHP Array free, right in your browser. Paste your MD Table input below and press Convert. You get a PHP file with return [...]; that you can include directly. No sign-up, and nothing is ever uploaded.
Paste your MD Table below, then press Convert.
Waiting for input.
Paste your MD Table on the left and press Convert. The tool first parses the MD Table (reading the header row, the --- separator and each data row, honoring \| escapes) into an internal table of rows and columns, then writes it out as PHP Array (emitting short [...] syntax wrapped in a return statement). If the input cannot be parsed you get a plain-English error instead of a broken file.
People reach for this converter when reusing tables from READMEs, wikis or notes and the data must be consumed by PHP code. Because everything runs locally in your browser, it is also handy for quick one-off migrations without installing database tools or writing throwaway scripts.