Converters
PHP Array to JSON Converter API
Convert a PHP array literal (array() or [] syntax with => keys, nested arrays, and PHP scalar types) into valid JSON. Choose 2/4-space, tab, or minified output. Runs entirely in your browser.
POST
Authorizations
Body
application/json
Response
Tool output