Convert GZ to DJOT

Turn GZ archives into DJOT. The gzip layer is removed and the bytes inside are written as they were.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

Unwrap a gzip file into Djot.The gzip layer comes off. The Djot text inside is written out as it was.

  1. What you get

    One Djot file. The gzip layer is removed and the bytes inside are written as they were, with no rewriting of the content.

    This works when the compressed file already holds Djot. Ask for the format you know is inside.

  2. What is refused

    Anything other than the format inside is refused. A GZ that holds a log or a CSV is not turned into Djot, because the conversion does not rewrite the content.

    The conversion stops with unsupported_elements when the file holds something Djot cannot carry, or when the input cannot become the format the join takes.

  3. Broken files

    A file that cannot be parsed stops with input_corrupted. This means the GZ itself could not be read.

    To go the other way, use DJOT to GZ.

GZ and DJOT.What each format is.

The formats

From · GZ

Gzip

A single file compressed with gzip, such as a log or a CSV.

Extensions
.gz
MIME type
application/gzip
Kind
Archives
To · DJOT

Djot

Djot, a lightweight markup language by the author of pandoc.

Extensions
.dj .djot
MIME type
text/x-djot
Kind
Text and data

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

terminal
$ cv convert archive.gz archive.dj
$ cv convert archive.gz archive.dj

Questions.What people ask about GZ to DJOT.

01OF 04

No. The bytes inside are written as they were, and anything other than the format you know is inside is refused.

No. Only the gzip layer is removed. The content is written out unchanged.

The file could not be parsed. The conversion stops with this code.

One file. It is the Djot content from inside the GZ.

More conversions.Other ways in and out of GZ and DJOT.