Query String to JSON
Turn a URL query string into structured JSON, including nested and repeated keys.
Convert a date into every ISO 8601 form, including week and ordinal dates.
The ISO 8601 Converter gives every representation of one moment, including the week date — where a week belongs to the year holding its Thursday, so 1 January 2021 is in week 53 of 2020 and any report grouping by week and year separately is wrong.
Enter a date in almost any form — ISO, an epoch timestamp, an HTTP date — and get every ISO 8601 representation of that same moment, with what each one is for.
The week date is the part worth having. ISO week numbering does not line up with the calendar year: a week belongs to whichever year holds its Thursday, so 1 January 2021 falls in week 53 of 2020, and 30 December 2019 is already in week 1 of 2020. Any report that groups by week and by year independently will be wrong at those boundaries. The ordinal date — the day number within the year — is here too, along with the Unix epoch in seconds and milliseconds.
Computed by the Thursday rule, which is what makes the year boundary behave the way the specification requires rather than the way it looks.
The day number within the year, which some systems and most scientific data use in place of a month.
ISO, epoch seconds, epoch milliseconds or a recognised string — so a misread input is visible immediately.
Seconds and milliseconds, generated and accepted, with the digit count used to tell them apart.
The same instant with your offset and as Zulu time, side by side.
ISO 8601, an epoch timestamp, or any date string your browser recognises.
The page says which format it recognised, so a misread is obvious.
Extended, basic, week date, ordinal date, date only, time only and the epoch.
Click any value to take it.
Zulu time — UTC, with no offset. A timestamp ending in Z is unambiguous anywhere in the world, which is why it is the right thing to store.
Because an ISO week belongs to the year containing its Thursday, and a week never splits across years. 1 January 2021 was a Friday in a week whose Thursday was in 2020, so it is 2020-W53-5.
They describe the same instant, but not the same information. The epoch is always UTC and carries no offset; an ISO string can carry the local offset, which tells you where the event happened as well as when.
Because that is what the specification says for the YYYY-MM-DD form, and every browser now follows it. A date with a time but no offset is treated as local instead, which is a genuine and well-known source of off-by-one-day bugs.
What people who use the ISO 8601 Converter think of it. Reviews come from visitors and are posted as written.
No ratings yet
Yours would be the first.
0 reviews
Newest first
No reviews yet
Be the first to rate the ISO 8601 Converter. It takes half a minute and no account.
Write the first reviewTurn a URL query string into structured JSON, including nested and repeated keys.
Collapse nested JSON into one flat level of dot-notation or bracket keys.
Convert text to Base64 and back, with full Unicode support.
Generate Python dataclasses with type hints from a sample JSON document.
Convert YAML config into JSON and see exactly how each value was typed.
Turn an array of JSON records into INSERT statements, with an optional CREATE TABLE.
Validate an IBAN's length, country and mod-97 checksum, and generate test ones.
Validate a JSON document against a draft-07 schema and see every failure by path.