How Jeongdon works
Paste JavaScript, TypeScript, JSON or CSS and get tidy code plus a diff. Formatting runs in this browser and your code is never sent to a server.
Check it yourself
- Press F12 to open dev tools and switch to the Network tab.
- Clear the list, paste your code and press Format.
- Requests to this site are the formatter file (first time only) and a visit signal. The signal carries a step name and no code.
Formatting rules
- It uses the official WebAssembly build of Biome 2.3.0. Rules may differ from the latest Biome.
- You can set indent, line width, quotes and semicolons. Everything else is the Biome default.
- JSON keeps short objects on one line, and keeps an object expanded if you wrote it that way.
- Formatting twice gives the same result.
What it does not do
- It does not lint or fix your code. It only changes layout.
- With a syntax error it formats nothing and shows the line.
- Output differs a little from Prettier. If your team uses Prettier, check the result first.
- Code over 2 MB is not accepted.
- Reloading clears the pasted code. Nothing is stored.