decode

PHP Unserialize

convert PHP serialized payloads to JSON

Live output enabled
Ready
Example output:
{
  "foo": "bar"
}

About PHP Unserialize

PHP Unserialize helps you convert php serialized payloads to json directly in your browser with no backend dependency.

Use Cases

  • Run PHP Unserialize while debugging API responses and config snippets.
  • Share normalized output from PHP Unserialize with teammates quickly.
  • Use PHP Unserialize as part of a repeatable local text-processing workflow.

Examples

Sample PHP Unserialize transformation output.

Input

a:1:{s:3:"foo";s:3:"bar";}

Output

{
  "foo": "bar"
}

Idempotent rerun example for PHP Unserialize when applicable.

Input

{
  "foo": "bar"
}

Output

{
  "foo": "bar"
}

FAQ

Does PHP Unserialize send my data to a server?

No. Execution happens in your browser tab.

Can I share a direct URL for PHP Unserialize?

Yes. Every tool has its own indexable route under /tools/<slug>.