φ

PHP Serialize php

Convert between JSON and PHP serialize() strings.

mode
INPUTdata
0 lines 0 chars
1
OUTPUTresult
0 lines 0 chars
1
Tool Guide

What this tool does

Useful when inspecting serialized PHP application data.

When to use it

PHP Serialize is useful during Convert work when you need to quickly convert, inspect, format, or generate small pieces of developer data. It is intended for API responses, configuration snippets, logs, test inputs, and browser-side checks.

Input and output example

Input example: {"name":"alice","age":30}
Output example: a:2:{s:4:"name";s:5:"alice";s:3:"age";i:30;}

Notes and limitations

Use the result as a development aid and verify it before applying it to production systems. Check encoding, timezone, security, and format requirements when the output will be used in an application. Related concept: php.

Copied