Turn PHP serialize() output into readable JSON, objects included, and repair broken string lengths. Free, in your browser.
Turns PHP serialize() output into readable JSON — arrays, objects (protected and private properties too), enums and references. “Fix string lengths” repairs data whose lengths broke after a database charset change.
E.g. from a WordPress or Magento database, or a session.
On “String doesn’t have the declared length”, turn on the fix.
Edit the JSON and convert it back with PHP serialize, format preserved.
Typically after a database charset change or manual editing.
s:5:"čau";→s:5:"čau"; ← length in bytesProtected/private properties contain invisible \0; they get lost when copying and lengths break.
✓ fix offeredA closing } is missing — a truncated record. The tool shows the line and column.
A search & replace of the domain changes the text length but not the number in s:N:. This tool repairs the lengths.
Yes. No sign-up, no ads and no size limit — the only limit is your computer.
No. Everything runs in your browser and the data you paste never leaves it — fine even for data with tokens or personal information.