Code Formatter (Prettier)
Tidy up messy JavaScript, CSS, HTML, Markdown or YAML in one click.
Funciona al 100% en tu navegador. Tus archivos no se suben a ningún servidor.
Cómo usar Code Formatter (Prettier)
- Paste your code into the left box.
- Choose the language, indentation and quote style.
- Click Format, then copy or download the result.
Preguntas frecuentes
What is Prettier?
Prettier is an open-source (MIT) code formatter used by millions of developers. It prints code in one consistent style, so every file in a project looks the same.
Is my code uploaded anywhere?
No. Prettier runs entirely in your browser, and your code is processed on your own device.
Which languages are supported?
JavaScript and JSX, CSS, HTML, Markdown and YAML. TypeScript needs a separate parser, which is not included here.
¿Es gratis Code Formatter (Prettier)?
Sí. Code Formatter (Prettier) es gratis, sin registro y sin marca de agua.
¿Se suben mis archivos a vuestro servidor?
No. Todo el procesamiento se hace en tu navegador con JavaScript y WebAssembly. Tus archivos nunca salen de tu dispositivo, lo que además lo hace rápido y privado.
¿Funciona en mi móvil?
Sí. Funciona en cualquier navegador moderno en Windows, Mac, Linux, Android y iPhone. Los archivos muy grandes pueden ir lentos en móviles antiguos.