Convert XZ to JSON

Turn XZ archives into JSON. The xz layer is removed and the bytes inside are written as they were.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop XZ files on the dialor turn it to pick what to do

The JSON that was inside the XZ.The xz layer comes off and the bytes inside are written as they were.

  1. What you get

    One JSON file. The conversion removes the xz compression and writes out the bytes that were inside, without changing them.

    There are no options to set. The file you get is the content of the archive, not a new version of it.

  2. What it requires

    Ask for the format you know is inside the XZ. If the contents are not JSON, the request is refused.

    The conversion stops with unsupported_elements when the file holds something the target cannot carry, or when an input cannot become the format the join takes. It stops with input_corrupted when the file could not be parsed.

  3. Going the other way

    To compress a JSON file into an XZ file, use JSON to XZ. To see the other conversions for this format, open every XZ conversion.

XZ and JSON.What each format is.

The formats

From · XZ

XZ

A single file compressed with xz, the LZMA format of most Linux distributions.

Extensions
.xz
MIME type
application/x-xz
Kind
Archives
To · JSON

JSON

JSON, the data format of every API.

Extensions
.json
MIME type
application/json
Kind
Text and data

In your code.The same XZ to JSON conversion through the API, for your app or your agent.

terminal
$ cv convert archive.xz archive.json
$ cv convert archive.xz archive.json

Questions.What people ask about XZ to JSON.

01OF 04

No. The xz layer is removed and the bytes inside are written as they were.

The request is refused. Ask for the format you know is inside the XZ.

The file could not be parsed. The conversion stops with input_corrupted in that case.

One file. It is the JSON that was inside the XZ.

More conversions.Other ways in and out of XZ and JSON.