← All Tools

๐Ÿ˜ PHP Serialize โ‡„ JSON

Decode PHP serialize() strings into JSON or re-encode JSON into PHP serialized form. Supports arrays, associative arrays, nested structures, strings, numbers, booleans, and null.

PHP serialized input

JSON output

Copied!
Supported types: N null, b boolean, i integer, d double, s string (byte-length prefixed), a array (sequential or associative). PHP objects (O:) are parsed into JSON objects with a __class field but cannot round-trip back. JSON numeric arrays serialize as a:N:{i:0;...}; JSON objects serialize as associative arrays.
Copied!