PHP Unserialize Online — Free Unserializer Tool

Decode PHP serialized strings into readable JSON instantly. Debug WordPress options, session data and cache blobs safely. All processing happens in your browser — no data sent to any server.

Loading…
PHP Unserialize
Decode PHP serialized strings into readable JSON — debug WordPress options, sessions and cache blobs in your browser.

Basic example

Serialized PHP input

a:5:{s:3:"app";s:10:"FastMinify";s:7:"version";s:5:"2.1.0";s:8:"features";a:3:{s:1:"0";s:6:"legacy";s:1:"1";s:6:"modern";s:6:"minify";b:1;}s:5:"flags";a:3:{i:0;b:1;i:1;b:0;i:2;N;}s:8:"metadata";a:2:{s:6:"author";s:4:"Team";s:7:"license";s:3:"MIT";}}

Decoded JSON output

{ "app": "FastMinify", "version": "2.1.0", "features": { "minify": true, "0": "legacy", "1": "modern" }, "flags": [true, false, null], "metadata": { "author": "Team", "license": "MIT" } }

Output formatting options

Beautify Options
Indentation options for Beautify and Unminify (not used by Serialize)

Indentation size

Number of spaces (or tab width) used when formatting PHP.

Indent type

Use spaces or tabs for indentation when beautifying PHP.

What this unserializer does

Decode PHP serialized strings into readable JSON for debugging WordPress options, sessions and cache dumps — entirely in your browser.

Unserialize PHP → JSON

Decode PHP serialized strings back into readable JSON. Restore structures from serialized format for inspection and editing.

Safe browser decoding

Processing runs in JavaScript in your browser — no PHP object execution, suitable for inspecting untrusted serialized blobs offline.

Need to serialize instead?

Convert JSON back to PHP serialize format with the PHP Serialize tool.

How to Unserialize PHP Data Online

Paste a PHP serialized string (for example a:3:{…}) into the left editor and click Unserialize. FastMinify decodes it to readable JSON so you can inspect WordPress options, session data or cache blobs. Indent options control how the JSON is formatted. All processing stays in your browser. To encode JSON into PHP serialize format, use PHP Serialize.

Editing Serialized PHP Data Safely

Manually editing PHP serialized strings is error-prone because the format includes string length prefixes. Changing a single character can corrupt the structure. Unserialize to JSON here, edit the readable version, then re-serialize with PHP Serialize so lengths stay correct.

PHP Unserialize FAQ

Decode serialized PHP to JSON — privacy-local answers

Can I unserialize PHP online?

Yes. Paste any PHP serialized string into this tool and it decodes to readable JSON for arrays, objects, strings, numbers, booleans and null. Processing stays in your browser.

Is PHP unserialize safe here?

In PHP apps, unserialize() on untrusted input can enable object injection. This browser tool parses the format in JavaScript and does not execute PHP objects — safer for inspecting opaque blobs offline.

Can I edit serialized PHP data?

Yes. Unserialize to JSON, edit in the editor, then re-serialize with PHP Serialize. That avoids broken string-length prefixes.

What input format do you accept?

Standard PHP serialize strings (for example a:…, s:…, O:…, i:…, b:…, N;). Invalid or truncated payloads produce a clear error instead of silent corruption.

Is my data processed securely?

Yes. Unserialization runs entirely in your browser. Nothing is uploaded to FastMinify servers.

I need to serialize JSON instead — where?

Use PHP Serialize to convert JSON into a valid PHP serialized string.

Looking for converters, encoders, formatters, and minifiers in one place? Developer tools hub Open the curated developer tools catalogue.

Serialization