About codeformatter
A small, focused tool — built to do one thing well.
codeformatter reformats JSON, JavaScript, TypeScript, CSS, and YAML using Prettier, and C/C++ using clang-format compiled to WebAssembly — the same engines used in real development toolchains. VBScript gets a best-effort block-structure indenter, since no maintained formatter exists for it anywhere.
Every one of these runs entirely in your browser. There's no upload step, no server round-trip, and no backend at all — the WebAssembly and JavaScript engines do the formatting locally on your machine.
How it's different
- No account, no sign-up, no installation — open the page and start pasting code.
- Nothing you paste is ever sent anywhere: there's no server for it to go to.
- Eight languages, one consistent interface.
- Free to use, supported by display advertising rather than subscriptions.
Who's behind it
codeformatter is published and operated by Mindcrew Tools as a free, privacy-first browser utility, and is a sibling site to mdformatter (Markdown → Word/HTML/PDF) and calc (free online calculators). If you run into a bug, have a feature request, or just want to say hello, see the Contact page.
Open the tool →