Cron Expression Parser
Read a cron expression in plain English and see when it next runs.
Convert JSON into XML, with control over attributes, arrays and the root element.
The JSON to XML converter turns object keys into elements, @-prefixed keys into attributes, and arrays into repeated elements or wrapped lists. Reserved characters are escaped and unsafe element names are made valid.
JSON and XML do not map onto each other cleanly, so this converter makes the awkward parts explicit rather than guessing. Object keys become elements. Keys beginning with the attribute prefix — @ by default — become attributes on the parent element instead.
Arrays are the real decision. By default each item repeats the parent key, which is how XML has always spelled a collection: three <tag> elements rather than a list. There is also a wrapped mode that puts the items inside a container element, which some schemas require. A JSON array at the root gets a wrapper automatically, because XML permits exactly one root element. Reserved characters in text and attribute values are escaped, and invalid element names are made safe.
A key prefixed with @ becomes an attribute on the parent element, which is the only way to hit a schema that expects one.
Repeat the key per item, which is how XML has always spelled a collection, or wrap the items in a container element.
Spaces and punctuation become underscores and a leading digit gets a prefix, because XML forbids both.
Ampersands and angle brackets in text, and quotes in attribute values, are escaped — the usual cause of a rejected upload.
XML allows exactly one root element, so a top-level array is wrapped in the root name you choose rather than failing.
An object or an array; both are handled.
Used when your JSON does not already have a single named wrapper.
Repeat the key for each item, or wrap the items in a container element.
Take the XML to your clipboard or save it as an .xml file.
Prefix the JSON key with @. The key "@id" becomes an id attribute on the parent element instead of a child element called id.
XML allows only one root element, so an array at the top level has nowhere to live. The named root element you choose becomes that container.
Characters XML forbids are replaced with underscores, and a name that starts with a digit gets an underscore prefix, since element names cannot begin with one.
Yes, as an empty self-closing element. That preserves the fact that the key existed, which dropping it would not.
What people who use the JSON to XML 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 JSON to XML. It takes half a minute and no account.
Write the first reviewRead a cron expression in plain English and see when it next runs.
Build CSS keyframe animations and watch them run as you edit.
Break a user agent string into browser, engine, operating system and device.
Generate HMAC signatures with SHA-1, SHA-256, SHA-384 or SHA-512.
Convert a duration between seconds, ISO 8601, clock time and words.
Fix broken JSON: trailing commas, single quotes, unquoted keys and comments.
Generate Nano IDs — shorter than a UUID, and URL-safe by design.
Convert a start and end address into the smallest set of CIDR blocks.