About
A minimal, fast, in-browser code formatter.
What it does
Formats JavaScript, TypeScript, JSON, CSS, SCSS, Less, HTML, Vue, Markdown, YAML, GraphQL and Python. JavaScript/TypeScript/JSX/TSX are formatted with Prettier. Python uses a small built-in normaliser (indent, blank lines, trailing whitespace) — it is not a full PEP-8 formatter.
You can also minify formatted output to save tokens when pasting into an AI assistant — the savings compared to your original input are shown alongside.
Privacy
All formatting happens in your browser. Your code is never sent to a server run by the developer. Prettier and the Python formatter run entirely client-side via WebAssembly / JavaScript bundles.
The only data this app persists is on your own device, in localStorage:
- your selected language
- your formatting options
- your current input draft
- your last 3 formatting runs (input + output)
- your theme preference (light/dark)
Clearing your browser data removes everything. There is no analytics, no telemetry, no cookies, and no backend storing your code.
Like any website, opening this page makes HTTP requests to load the assets. The hosting provider sees standard request metadata (IP address, user-agent) — that is outside this app's control. The page itself makes no further network calls while you format code.
Credits
Built by Pieter-Jan Scheir.
Powered by Prettier, Next.js, Tailwind CSS, and Lucide.