CSS-minifier
Minificeer CSS in je browser met behoud van strings, URL’s, belangrijke opmerkingen en betekenisvolle spaties.
Minificeer JavaScript in je browser met een parser. De code wordt niet uitgevoerd.
Deze tool werkt in je browser. Invoer, bestanden en gegenereerde waarden blijven op dit apparaat. Favorieten en recent gebruikte tools bewaren, als je ze gebruikt, alleen toolnamen in de lokale opslag — nooit wachtwoorden, documenten of QR-inhoud. Lees het privacybeleid.
De uitgebreide handleiding voor deze tool (gebruik, voorbeelden en veelgestelde vragen) is voorlopig in het Engels.
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.
Minificeer CSS in je browser met behoud van strings, URL’s, belangrijke opmerkingen en betekenisvolle spaties.
Minificeer HTML in je browser met een voorzichtige bewerking die pre-, textarea-, script- en style-inhoud behoudt.
Maak JSON leesbaar, minificeer het of controleer of het geldig is. Opmerkingen, afsluitende komma’s en enkele aanhalingstekens zijn niet toegestaan. Zet niet om naar CSV.
Codeer tekst naar Base64 of decodeer het terug, met UTF-8. Iedereen kan het resultaat decoderen, dus het verbergt geen wachtwoord. Bestanden worden niet geaccepteerd.
Genereer een of meer UUID v4-waarden in je browser met een veilige willekeurige bron.
Codeer of decodeer URL-onderdelen in je browser met encodeURIComponent.