Save tool
Paste JavaScript, PHP, Node.js, Python, SQL, Java, C/C++, C#, Go, Rust, TypeScript, HTML, CSS, JSON or Bash below. The language is detected automatically, and the code is compressed by stripping comments, blank lines and unnecessary whitespace.Code Minifier – JavaScript, PHP, Python, SQL & More
Articles that explain this
Other tools
- Code Beautifier – JavaScript, PHP, Python, SQL & More
- Redirect Chain & Canonical Host Tracer
- JSON Beautifier
- Base64 Encode & Decode Tool
- Text & Code Diff
- Script Loading and Execution Order Analyzer: what a script sees when it runs
- Third-Party Origin & Subresource Integrity Checker: who a page loads from, and what it trusts
- Image Delivery & Format Negotiation Auditor: WebP, AVIF, srcset, Vary
- Cache-Control & Revalidation Analyzer
- Page Structure & Readability Inspector: Headings, Sentences, Abbreviations
Related articles
- Vanilla JavaScript and Native DOM APIs as an Alternative to React and Other Frameworks
- Tutorial: Reading a Minified Third-Party Script Before It Goes on the Site
- Checking JSON Data Before Sending It: Detecting Syntax Errors and Incorrect Values
- With or Without www, HTTP or HTTPS: Checking the Four Website Addresses
- Tutorial: Extracting SVG Graphics from Websites: The Console Method and Alternatives
- HTTP Compression by File Type: What to Measure
- Finding Google Tag Manager Changes: Comparing Two Container Exports
- Certificate Chains: Why a Site Opens in the Browser and Fails in curl
- Why JavaScript Cannot Find a Page Element Yet: Choosing the Right Execution Time
- Finding WordPress Plugin Errors Before Submission: Local and Automated Checks with Plugin Check