Minificatore CSS
Minifica CSS nel browser preservando stringhe, URL, commenti e spazi importanti.
Minifica JavaScript nel browser con un parser. Il codice non viene eseguito.
Questo strumento funziona nel tuo browser. Dati inseriti, file e valori generati restano su questo dispositivo. Preferiti e strumenti recenti, se li usi, salvano solo i nomi degli strumenti nella memoria locale: mai password, documenti o contenuti dei codici QR. Consulta l’informativa sulla privacy.
Per ora la guida dettagliata di questo strumento (come si usa, esempi e domande frequenti) è disponibile in inglese.
Parse JavaScript with Terser, then compress and mangle it. Use it when a small script should be shorter and you want a parser rather than find-and-replace. The script is not run, and TypeScript comes back as an error.
function greet(name) { return "Hello, " + name; } is parsed, then shortened by removing whitespace and renaming locals where safe.
If the parser cannot read the file, you get an error. The tool does not try to “fix” broken JavaScript.
JavaScript cannot be minified safely with simple find-and-replace. This tool uses Terser in the browser to parse the source, then compress and mangle it. Your code is not executed with eval or new Function. Constant-expression evaluation is turned off so user expressions are not run during minify. Very large files are rejected so the tab stays responsive.
Terser parses the source, then compresses and mangles it. The script is not run. TypeScript, and JavaScript the parser cannot read, come back as an error rather than a shorter file. Constant expressions are not evaluated during the pass.
See the disclaimer for what these tools do not cover.
Minifica CSS nel browser preservando stringhe, URL, commenti e spazi importanti.
Minifica HTML nel browser con un passaggio prudente che mantiene il contenuto di pre, textarea, script e style.
Formatta il JSON in modo leggibile, minificalo o verifica che sia valido. Commenti, virgole finali e apici singoli non sono ammessi. Non converte in CSV.
Codifica testo in Base64 o decodificalo, usando UTF-8. Chiunque può decodificare il risultato, quindi non serve a nascondere una password. I file non sono accettati.
Genera uno o più valori UUID v4 nel browser usando una fonte casuale sicura.
Codifica o decodifica componenti di URL nel browser con encodeURIComponent.