Instalar ZYBERMART

Abre cualquier herramienta desde tu pantalla de inicio o el Dock, en su propia ventana. Las que ya has usado también funcionan sin conexión.

Embellecedor de código

Vuelve a sangrar JavaScript, CSS y HTML desordenado o minificado para que se lea fácilmente, con la sangría y el estilo de llaves que elijas.

How to beautify code

  1. Pick JavaScript, CSS or HTML, and paste your code. Minified code works too.
  2. Choose the indent you use, then Beautify.
  3. Copy the result, or download it as a file.

Going the other way? The code minifier makes JavaScript, CSS and HTML as small as possible. For JSON, use the JSON formatter, and for SQL the SQL formatter.

Frequently asked questions

What does a code beautifier do?

It re-indents and spaces out code so it's easy to read: one statement per line, blocks indented, and consistent spacing around operators and braces. It doesn't change what the code does.

Can it un-minify code?

Yes. Paste minified JavaScript, CSS or HTML and it's laid out again. Variable names that a minifier shortened (like a, b, c) can't be restored, but the structure becomes readable.

Which settings can I change?

Indent size (2 or 4 spaces, or tabs), whether to put opening braces on their own line in JavaScript and CSS, and how many blank lines to keep.

Is my code uploaded?

No. Beautifying runs in your browser with js-beautify, an open-source library.

Inicia sesión en ZYBERMART

Ten tus CV, facturas, tarjetas de estudio, notas y herramientas guardadas en todos tus dispositivos. Es gratis, y las herramientas funcionan igual sin cuenta.

o

No necesitas contraseña. Al iniciar sesión aceptas los términos; consulta cómo tratamos tus datos en la política de privacidad.

Tu cuenta

Al cerrar sesión se guarda una copia de tu trabajo en este navegador. En un ordenador compartido, borra después los datos del navegador.

¿Qué quieres crear?

Diseños

Redes sociales

Documentos

Estudio

Editar

Ver las 282 herramientas