Convert between JSON and PHP arrays, and serialize/unserialize PHP data. All four operations in one tool with instant swap. Everything runs locally in your browser — nothing is uploaded.
Beautify and format PHP source code with proper indentation, brace style, and spacing. Handles PHP, HTML embedded PHP, and mixed syntax files.
Convert GraphQL schema definitions to JSON Schema format. Bridge the gap between GraphQL and REST tooling ecosystems.
Visualize JSON structure as an indented tree — see nested objects and arrays at a glance.
Convert messy CSV or Excel sheets from clients into clean JSON in one batch. Handles missing values, nested rows, and generates strict JSON schemas for 50+ files at once. Everything runs locally in your browser — nothing is uploaded.
Convert between JSON, YAML, and TOML formats. Four-direction conversion: JSON↔TOML and YAML↔TOML.
PHP Tools lets you convert between JSON and PHP arrays, and serialize/unserialize PHP data. All four operations in one tool with instant swap. Everything runs locally in your browser — nothing is uploaded.. It works on any device with a modern web browser.
Convert between JSON and PHP arrays, and serialize/unserialize PHP data. All four operations in one tool with instant swap. Everything runs locally in your browser — nothing is uploaded. It runs entirely in your browser — no software installation or data uploads required.
Paste or type your content directly into the provided text area.
Yes. After the initial page load, PHP Tools runs entirely on your device with no internet connection needed. All processing is done locally.
JSON to PHP array, PHP array to JSON, PHP serialize, and PHP unserialize. All four operations are available with instant swap between input and output.
PHP serialize creates a PHP-specific string format that preserves types (objects, arrays). json_encode creates JSON format for cross-language compatibility.
Yes. Deeply nested arrays and associative arrays are handled correctly. The tool preserves the complete structure during conversion.
For JSON conversion, PHP objects are converted to JSON objects. For serialization, object notation (O:4:"name":...) is preserved in the serialized string.
No. All conversions happen locally in your browser. No PHP data is sent to any server.
PHP Beautifier
Beautify and format PHP source code with proper indentation, brace style, and spacing. Handles PHP, HTML embedded PHP, and mixed syntax files.
JSON Formatter
Pretty-prints raw JSON with configurable indent width, key sorting, and bracket collapsing options while flagging syntax errors with exact.