Convert BR to JSON

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

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

The JSON inside a BR file.The Brotli layer comes off. The bytes inside are written out as they were.

  1. What you get

    One JSON file. The Brotli compression is removed, and the content inside is written unchanged, byte for byte.

    A BR file holds a single file, so there is one output for each input.

  2. What it expects

    Ask for the format you know is inside. If the file inside is not JSON, the conversion is refused.

    The conversion stops with unsupported_elements when the file holds something JSON cannot carry, or when the 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 with Brotli again, use JSON to BR. For other formats, see every BR conversion.

BR and JSON.What each format is.

The formats

From · BR

Brotli

A single file compressed with Brotli, the web's compression for static assets.

Extensions
.br
MIME type
application/x-brotli
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 BR to JSON conversion through the API, for your app or your agent.

terminal
$ cv convert archive.br archive.json
$ cv convert archive.br archive.json

Questions.What people ask about BR to JSON.

01OF 04

No. The bytes inside are written as they were. Only the Brotli layer is taken off.

The conversion is refused. Ask for the format you know is inside the BR file.

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

No. This conversion has no options.

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