EDN to JSON Online Converter

Convert Clojure EDN to JSON instantly in your browser — keywords, sets, lists, and #inst/#uuid tags included. Everything runs locally, nothing is uploaded.

Direction
Options
source.edn
output.json

Your Data Never Leaves Your Device

Every tool runs entirely in your browser. Nothing you type is uploaded, stored, or logged on our servers.

100% Client-Side

EDN (Extensible Data Notation) is the data format Clojure and ClojureScript projects use for deps.edn, Datomic queries, config files, and wire payloads. This converter reads EDN the way the Clojure reader does — keywords, namespaced keywords, symbols, characters, sets, lists, vectors, maps with non-string keys, tagged elements like #inst and #uuid, ; comments, #_ discards, and ^ metadata — and renders the equivalent JSON in real time.

The parser is plain JavaScript running entirely in your browser, so nothing you paste is uploaded anywhere. Need to go the other way? Use the JSON to EDN converter.

FAQ

Paste your Clojure EDN on the left and the formatted JSON appears on the right as you type.

Keywords become plain strings (:port becomes "port", or ":port" if you keep the colon), namespaced keywords keep their namespace (:app/name becomes "app/name"), and both sets (#{...}) and lists ((...)) become JSON arrays, since JSON has no set or list type.

By default #inst and #uuid are unwrapped to their string value. Turn off "Unwrap #inst / #uuid" and they become objects like { "#inst": "2024-03-01T10:20:30Z" } instead, so the tag survives the round trip. Any other tag is always kept in that object form.

Yes. Line comments starting with ; are skipped, #_ discards the form that follows it, and ^{...} metadata is read and dropped because JSON has nowhere to store it.

No. The EDN reader is plain JavaScript running in your browser, so config files, deps.edn, and datomic-style data never leave your machine.

Arbitrary-precision literals like 42N and 1.5M are read as regular JavaScript numbers, so integers beyond 2^53 can be rounded. Keep very large values as EDN strings if exact precision matters.

Switch to the JSON → EDN tab, or open the JSON to EDN converter, to turn a JSON document back into EDN.