Convert BR to SQL

Turn BR archives into SQL. 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

A SQL script from a Brotli file.The Brotli layer comes off and the SQL inside is written as it was.

  1. What you get

    One SQL file. The Brotli compression is removed, and the bytes inside are written out exactly as they were, with nothing rewritten or reformatted.

    The result is SQL statements as text, a dump that any SQL tool can read or replay.

  2. Pick the right format

    Ask for the format you know is inside the BR file. This conversion is for a Brotli file that holds SQL. If you ask for a format that does not match what is inside, the request is refused.

    To go the other way, use SQL to BR.

  3. When it stops

    A file that cannot be parsed stops with input_corrupted.

    A conversion stops with unsupported_elements when the file holds something the target cannot carry, or when some inputs cannot become the format the join takes.

    There are no options to set. The conversion takes the file and returns one file.

BR and SQL.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 · SQL

SQL Script

SQL statements as text. A database dump that any SQL tool can read or replay.

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

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

terminal
$ cv convert archive.br archive.sql
$ cv convert archive.br archive.sql

Questions.What people ask about BR to SQL.

01OF 04

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

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

Yes. Use SQL to BR to go the other way.

The file could not be parsed. The conversion stops with input_corrupted when that happens.

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