Formateadores y código
Minificador CSS
Strip whitespace and comments — instant CSS minify.
Nota del editor
Understanding · Whitespace out, semantics in.
Este capítulo en profundidad está disponible solo en inglés por el momento. La herramienta de conversión de arriba funciona en tu idioma; el artículo explicativo extenso aún no se ha traducido.
Preguntas frecuentes
Quick answers.
›Does minifying CSS break my site?
No. The minifier only removes non-functional characters like spaces and comments, leaving the logic and syntax of your stylesheets intact.
›Is my code sent to a server?
No. The minification process happens entirely within your browser using JavaScript, so your proprietary code stays on your machine.
›Should I minfiy my source files?
Keep your original, formatted CSS for development and use the minified version for your production website. Most modern build tools automate this, but manual minification is useful for quick deployments.
›What is the difference between compressed and minified?
Minification removes characters from the text file itself. Compression, such as Gzip or Brotli, happens at the server level to shrink the file further for transmission.
La gente también busca
Herramientas relacionadas
More in this room.
- Formateador de CSSEmbellece y minifica hojas de estilo CSS.
- Formateador y Validador de JSONEmbellece, minifica y valida JSON — gratis, sin registrarse.
- Formateador de SQLEmbellece e indenta consultas SQL feas.
- Formateador y Validador de XMLEmbellece, minifica y valida XML — al instante.
- Formateador de HTMLEmbellece y minifica HTML — valores por defecto de Prettier.
- Formateador de JavaScript / TypeScriptJS y TS formateados con Prettier, en el navegador.