Code Formatter
Paste code, pick a language, click Format. Supports HTML, CSS, SCSS, Less, JavaScript, TypeScript, JSON, YAML, XML and Markdown.
Processed locally in your browser; data is not uploaded
Features
- HTML / CSS / SCSS / Less
- JavaScript / TypeScript
- JSON / YAML
- XML / Markdown
- Prettier engine, local browser processing
FAQ
Is my code uploaded?
No. Prettier runs locally in your browser; code never leaves your device.
Which languages are supported?
HTML, CSS, SCSS, Less, JavaScript, TypeScript, JSON, YAML, XML and Markdown.
Related tools
- Device Info
- JSON Formatter, Validator and Format Checker
- Data Visualization Tool
- Function Plotter
- Code Formatter
- Timestamp Converter
- Unit Converter
- Color Converter and Picker
- Regular Expression Tester
- URL Parser and Query Editor
- HTTP Status and Header Reference
- Online Encoding Converter
- UUID / ULID Generator and Parser
- Online Encryption Tool
- Android Quick Reference
- Flutter Quick Reference
- iOS Quick Reference
- Online Translator
- Git Commands
- Terminal Commands
- Docker Commands
- Kubernetes Commands
- AI CLI Commands
- Online QR Code Generator and Parser
- Online Curl Command Tool
- Base64 Encoder and Decoder
- Code Compare and Text Diff Tool
- Online Text Processing Tool
- China Tax Calculator
- Mortgage Calculator
- Exchange Rate Calculator
- Focus Training
- Ball Genesis
- Predation & Reproduction
- N-Sided Cycle
- Red vs Green
- Big Fish Eats Small Fish
- Math Curiosities
- Cron Expression Calculator
- Online Image Tool
- Online File Converter
- MD5 Hash Checker and File Info
- Online Mind Map
- Literacy Flash Cards
- Markdown Editor and Preview
- Content Generator
- JWT Decoder and Debugger
- Major Events Timeline
- Solid Color Fill
- Area Search