PHP Serialize Converter
Convert between PHP serialize() format and JSON.
PHP serialized string
JSON
About the PHP Serialize Converter
Parse PHP's native serialize() strings (a, s, i, b, d, N, O) into readable JSON, or turn JSON back into a PHP serialized string. Arrays, nested objects, booleans, doubles and PHP objects with their class names are handled, including UTF-8 aware string length counting.
Examples
PHP array to JSON
a:2:{i:0;s:3:"Ada";i:1;s:5:"admin";}Output
["Ada","admin"]Keyboard shortcuts
- Copy the main outputCtrl / ⌘ + Shift + C
- Download the resultCtrl / ⌘ + S
- Share this toolCtrl / ⌘ + Shift + S
- Reset the inputsAlt + R
- Open the tool search paletteCtrl / ⌘ + K
Related tools
Android APK Analyzer & Explorer
Dev Utilities
Open an APK, decode its manifest and browse or download every file inside.
Code Minifier & Beautifier
Dev Utilities
Minify or beautify JavaScript, CSS, HTML, JSON, XML and SQL.
HTML to JSX Converter
Dev Utilities
Convert HTML markup into clean React/JSX component code.
JavaScript / TypeScript Playground
Dev Utilities
Write and run JavaScript or TypeScript with a live console.
JavaScript Object to JSON
Dev Utilities
Convert a JS object literal into strict, valid JSON.
JSON to C# Class
Dev Utilities
Generate C# classes or records from JSON, with nullable reference types.
Frequently asked questions
Version 1.0.0 · Updated 2026-08-25 · Runs entirely in your browser