Support

Runs in your browser· nothing is uploaded; the file is converted on your device

Avro is a compact binary format used by Kafka, Spark and Hadoop. Drop an Avro file here to get JSON, either one array of objects or JSON Lines (one object per line). The file stays on your computer.

Drop a file here, or click to choose

Converted locally, never uploaded. Supports null, deflate, snappy and zstandard codecs.

Just want to look at the records? Use the Avro Viewer.

How values are written (for data engineers)
long beyond 2^53Exact digits as a JSON string, so no digit is rounded
float, doubleJSON numbers; NaN and infinity are written as the text "NaN", "Infinity", "-Infinity"
bytes, fixedBase64 text
decimalExact decimal text, using the scale in the schema
date, time, timestamp (top-level fields)ISO text; microsecond timestamps keep all six digits
union with nullThe value or null, with no wrapper object
record, array, map, enumNested JSON objects and arrays; enums as their symbol

Convert Avro to JSON without Java or avro-tools

Convert an Avro file to JSON directly in your browser. Hexabench reads the schema embedded in the file, shows the fields and a preview of the records, then writes a JSON array or JSON Lines. No Java, no avro-tools and no upload: the file stays on your device.

Frequently Asked Questions

How do I convert an Avro file to JSON without Java or avro-tools?
Drop your .avro file on this page. It is decoded in your browser, so you need no Java, avro-tools or Python. Check the schema fields and the preview, choose a JSON array or JSON Lines, then click Convert and download the file.
Is my Avro file uploaded anywhere?
No. The conversion runs entirely in your browser and the file is never sent to a server.
What is the difference between a JSON array and JSON Lines?
A JSON array is one list that holds every record as an object, which most APIs and editors expect. JSON Lines (.jsonl) puts one object on each line, so large files can be read, split and streamed line by line with tools such as jq, Spark or pandas read_json with lines=True.
How are long numbers, bytes and dates written to JSON?
A long beyond 2^53 is written as a JSON string with every digit, because a JavaScript reader would round it as a number. Bytes and fixed values are written as base64 text, decimals as exact decimal text, and top-level dates and timestamps as ISO text. NaN and infinity are not valid JSON, so they are written as text. A union with null is written as the value or null, with no wrapper.
Which Avro codecs and files are supported?
Avro object container files (.avro) compressed with null, deflate, snappy or zstandard. A single Avro-encoded Kafka message is not a container file and cannot be opened here; the Kafka Message Decoder handles those.

Found this useful? Hexabench is free and ad-free. If it saved you time, you can support it.

Buy me a coffee →