← All tools

PHP Serialize ↔ JSON

Read PHP serialized values as JSON or create a PHP fixture. Validate UTF-8 byte lengths and report the position of malformed input.

php-serialize-to-jsonLOCAL WORKSPACE

Enabling local controls…

Output

How to use this tool

Paste or open UTF-8 serialized data or JSON. For JSON input, choose PHP associative arrays or stdClass for JSON objects.

When not to use it

Ordinary PHP objects are shown as plain JSON fields. References, non-UTF-8 binary data and custom serialization tags are unsupported.