JSON Formatter vs Unix Timestamp Converter

formatting

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
}
Use JSON Formatter
datetime

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"
}
Use Unix Timestamp Converter
FeatureJSON FormatterUnix Timestamp Converter
Categoryformattingdatetime
Inputsjson, mode, indent, sort_keys, repairinput, mode
Outputsoutput, valid, error, error_line, error_columnunix_seconds, unix_ms, iso8601, utc, relative, valid, error

We use cookies to serve ads and measure traffic. Cookie policy · Privacy policy