Ready — paste code or load a sample. Language: — In: 0 chars Out: 0 chars
Input
Output

Frequently Asked Questions

Is my code sent to any server?

No. All formatting runs entirely in your browser using JavaScript. Nothing is transmitted, logged, or stored anywhere.

Which formatter engine is used?

Prettier 3 handles JSON, JavaScript, HTML, and CSS. SQL uses a lightweight in-browser keyword formatter.

Does auto-detect always work?

It works well for common patterns. For ambiguous snippets (e.g., a short JS string that looks like JSON), select the language manually.

Can I minify code here?

Yes. Click Minify after selecting or auto-detecting the language to produce the most compact single-line output.

What is the size limit?

There is no hard limit — performance depends on your device. Very large files (>1 MB) may take a moment for Prettier to process.

Can I change indent to tabs?

Currently, the indent control sets spaces (2–8). Tab support is planned. For now, set indent to 2 as the closest approximation.