Convert JSON to PHP serialize() format or unserialize PHP strings to readable JSON, with correct UTF-8 byte lengths. Free online tool.
Convert JSON to PHP serialize() format and unserialize PHP strings into readable JSON. Useful for inspecting WordPress options, sessions and cache values.
s:N: counts UTF-8 bytes, not characters. The tool calculates byte lengths correctly for Korean and emoji.
O:… objects become JSON objects with a "__class" key holding the class name.
Yes. The tool only parses the text and never runs PHP code.