Skip to main content
>_devtools

PHP Serialize / Unserialize

Inspect supported PHP scalar and ordered-array payloads without running PHP or reviving objects.

What it does

Encode or inspect supported PHP serialization values without running PHP. Enter a value or serialized string to see its structured form and exact bytes.

Example

Serialized: a:1:{i:0;s:3:"Ada";}
Decoded JSON: ["Ada"]

Limits and behavior

  • Objects, references, cycles, and Serializable payloads are rejected.
  • Input and output are limited to 16 MiB, nesting depth 64, and 100,000 values.
  • Strings are measured in bytes; invalid UTF-8 is preserved as tagged binary data.