JSON Formatter vs Unix Timestamp Converter
JSON Formatter
Pretty-print or minify JSON — with syntax validation.
Paste raw or minified JSON and format it with configurable indentation, or minify it by removing all whitespace. Validates syntax, reports parse errors with line/column, and optionally sorts keys or repairs malformed JSON.
Example input:
{
"json": "{\"name\":\"Alice\",\"age\":30}",
"mode": "pretty",
"indent": 2,
"sort_keys": false,
"repair": false
}Unix Timestamp Converter
Convert Unix timestamps to human-readable dates and ISO 8601, or convert dates back to epoch seconds.
Convert Unix epoch timestamps (seconds or milliseconds since 1970-01-01T00:00:00Z) to ISO 8601, UTC, and local date-time strings — or parse any date string back to a Unix timestamp. Shows the relative time from now (e.g. '3 days ago'). Accepts seconds, milliseconds, or an ISO 8601 / RFC 2822 date string as input.
Example input:
{
"input": "1716998400",
"mode": "to-date"
}| Feature | JSON Formatter | Unix Timestamp Converter |
|---|---|---|
| Category | formatting | datetime |
| Inputs | json, mode, indent, sort_keys, repair | input, mode |
| Outputs | output, valid, error, error_line, error_column | unix_seconds, unix_ms, iso8601, utc, relative, valid, error |