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.
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.
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_elementswhen the file holds something Djot cannot carry, or when the input cannot become the format the join takes.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
Gzip
A single file compressed with gzip, such as a log or a CSV.
- Extensions
- .gz
- MIME type
- application
/gzip - Kind
- Archives
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.
$ cv convert archive.gz archive.dj$ cv convert archive.gz archive.djQuestions.What people ask about GZ to DJOT.
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.