Convert JSON into PHP short-array syntax with quoted keys and scalar values.
Type or paste on the left — the result updates as you type.
Outputs an expression, not executable code. Backslashes and single quotes are escaped; this is not PHP serialization.
Up to 100,000 UTF-16 units per input and 1,000,000 per result. See the supported formats and examples below.
Tool page updated: 2026-09-27