PHP Unserialize Online — Free Unserializer Tool
Decode PHP serialized strings into readable JSON or PHP array syntax instantly. Debug WordPress options, session data and cache blobs safely. All processing happens in your browser — no data sent to any server.
Basic example
Serialized PHP input
Decoded JSON output
Output formatting options
Comparison with/without option:
Original code
With includeNullValues: true
With includeNullValues: false
Difference
Comparison with/without option:
Original code
With removeEmptyArrays: true
With removeEmptyArrays: false
Difference
Comparison with/without option:
Original code
With removeEmptyObjects: true
With removeEmptyObjects: false
Difference
Comparison with/without option:
Original code
With sortKeys: true
With sortKeys: false
Difference
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.
Decode PHP serialized strings back into readable JSON. Restore structures from serialized format for inspection and editing.
Processing runs in JavaScript in your browser — no PHP object execution, suitable for inspecting untrusted serialized blobs offline.
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.
Verify it yourself
FastMinify processes your input in the browser. Inspect the network panel or read our validation gate to confirm nothing leaves your device.
Serialization
Serialize and deserialize PHP data structures beside JSON workflows.
Explore other tool categories
Minify
Shrink code and assets for production — minify JavaScript, CSS, HTML, JSON and XML before gzip or CDN deploy.
Beautify
Make code readable with consistent indentation — beautify JavaScript, CSS, TypeScript, SCSS, LESS, Markdown, GraphQL, SQL, YAML and more in your browser.
Unminify
Expand minified or compressed code — unminify JavaScript, CSS, TypeScript, SCSS, LESS, SQL, YAML and other formats when debugging or reviewing.
Conversion
Transform data between JSON, YAML, XML and CSV locally — no server uploads.
CSS preprocessors
Compile SCSS or LESS to standard CSS in the browser — pair with beautify or minify for a full stylesheet workflow.
JSON Tools
Validate, format, diff and explore JSON payloads — complementary to minifiers and converters.
SVG Tools
Preview, optimize with SVGO, export Data URI, resize, beautify, convert to JSX and validate SVG — all in your browser.
DevOps & Infra
Terraform HCL format/validate/minify, Dockerfile format & lint, Docker Compose and .env validation.
CI/CD
GitHub Actions and GitLab CI — format YAML and check workflow/job structure in your browser.
Logs & observability
Line-oriented JSON/NDJSON and Nginx/Apache access logs — format, filter, validate, and CSV/TSV.
Kubernetes
Multi-doc manifests, structural validate, Ingress/Deployment starters, and Helm values formatting.
Networking / IP
CIDR, subnets, and IPv4/IPv6 helpers — in your browser.
Security & tokens
JWKS, X.509 certificates, and secrets scan — browser-local.
API & schemas
OpenAPI tools to format, validate, and lint your specs.
Encoding
Encode or decode Base64, URL components and HTML entities — client-side only.
Developer utilities
Timestamps, UUID, ULID, Nanoid, cron, passwords, regex, slugify, number bases, case, text diff, and chmod — all client-side.
Text & Markdown
Count words, build Markdown TOCs, and clean line lists — all in your browser.
AI & LLM
Token counting, pricing estimates, and context-window fit — 100% browser-local.