Installera ZYBERMART

Öppna alla verktyg från hemskärmen eller Dock, i ett eget fönster. Verktyg du har använt fungerar även offline.

Kodminifierare

Minifiera JavaScript, CSS och HTML för mindre filer och snabbare sidor, och se hur mycket du sparar.

How to minify code

  1. Pick JavaScript, CSS or HTML, and paste your code.
  2. Choose Minify. You’ll see how much smaller it got.
  3. Copy the result, or download it as a file.

Making a site faster? Shrink your pictures with Compress image, and check your share previews with the Open Graph checker.

Frequently asked questions

What does minifying do?

It removes what browsers don't need, like spaces, line breaks and comments, and (for JavaScript) shortens local variable names. The code works the same but downloads faster.

Is it safe for my code?

JavaScript is minified with Terser, the minifier used by most build tools. CSS and HTML minifying only removes comments and extra spaces, and leaves text in strings, <pre> and <textarea> exactly as it is. Keep your original files: minified code is hard to edit.

Which JavaScript does it support?

Modern JavaScript (ES2023), including modules, classes, async functions and optional chaining. It doesn't transform TypeScript or JSX; compile those first.

Is my code uploaded?

No. Everything is minified in your browser.

Logga in på ZYBERMART

Ha dina CV:n, fakturor, flashcards, anteckningar och sparade verktyg på alla dina enheter. Det är gratis, och verktygen fungerar likadant utan konto.

eller

Inget lösenord behövs. Genom att logga in godkänner du villkoren. Läs hur vi hanterar dina data i integritetspolicyn.

Ditt konto

När du loggar ut finns en kopia av ditt arbete kvar i den här webbläsaren. På en delad dator bör du rensa webbläsardata efteråt.

Vad vill du skapa?

Designer

Sociala medier

Dokument

Studier

Redigera

Visa alla 282 verktyg