GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • About
  • Blog
  • My Account
  • Home page

This view

  • Original page
  • New address

GeezerVison is showing extendsclass.com — Minify JavaScript - Free Online JS Minifier and Compressor

ExtendsClass
Free Online Toolbox for developers

JavaScript minify

 
It would be nice to disable adBlock, advertising is the only resource of this website :)
Your JavaScript code
Minified JavaScript



This tool allows you to minify and compress your JavaScript code, it removes all extra white spaces, newlines, comments, useless code and optimizes variable names.

Copy and paste, upload, drag and drop a JS file or directly type in the "Your JavaScript code" editor below.
If you drag and drop multiple JS files at the same time, they will be combined into a single compressed file.

You can see the user guide to help you to use this JavaScript minifier.


User guide

Fill "Your JavaScript code" editor with your JavaScript source code. You have several possibilities:

  • Copy and paste your JavaScript code
  • Drag and drop your JavaScript file
  • Drag and drop multiple JavaScript files in order to combine them into one compressed file
  • Directly type in the "Your JavaScript code" editor

Click on "Download" button in order to export minified JavaScript.

Click on "Copy to clipboard" button in order to copy minified code to clipboard.


Why minify JavaScript ?

Minification is the process of removing all unnecessary characters in order to reduce or compress JavaScript code, in order to decrease the JavaScript file size. It removes the spacing, indentation, newlines, and comments. The minification can also rename local variables, the longer variable names will be shortened. Minification makes more difficult to read JavaScript source code.

Example:

"Pretty" Source code:
		/* Load date from URL */
		function loadFromURL()
		{
			var url = document.getElementById('url').value;
			services.http.get(url, function (data) {
				if (currentEditor && data)
				{
					currentEditor.setValue(data);
				}
				dialogLoadFromURL.dialog( "close" );		
			});
			
		}

Source code after minification process:
function loadFromURL(){var e=document.getElementById("url").value;services.http.get(e,function(e){currentEditor&&e&¤tEditor.setValue(e),dialogLoadFromURL.dialog("close")})}

Developers maintain a pretty version of their source code, and for deployment they use a minification program.

JavaScript minifier is a SEO tool which can help boost your site speed (It is a SEO factor). The compression of the web pages by the web servers limits the interest of the minification of the sources.


JavaScript minification tools

This tool allows to minify js online and also compress javascript online. Your source code will be reduce, and will load faster by browsers.

It uses the Terser library (fork of uglify-es).

This webpage allows you to use Terser online. But for a professional project, this process of minification must be automated and scripted.


You can report a bug or give feedback by adding a comment (below) or by clicking "Contact me" link (at the top right hand corner of the page).

Comments

Captcha

Enter the code (case insensitive) *

If you can not read the code, click here to generate a new code




Ikram-2019-04-21 10:56
Wonderful!
Reply

Answer
Captcha

Enter the code (case insensitive) *

If you can not read the code, click here to generate a new code



Imre-2021-03-30 10:13
Google Pagespeed warns on "unused" javascript. It is when part of the JS is not neccassry to run a website. Would be good if I can just input my URL and this website gives a minified JS and CSS output excluding all parts of the JS which is not required. This might not be possible as some code dont need on main page but to be used on a different subpage. I can certainly understand. But what neither of these online JS and CSS minfication do is to input an url and give an minified JS and CSS. All offers just copy you code here and we give an output. Basically I have to paste each code into the field. It could be pulled out of a website after determining and URL.
Reply

Answer
Captcha

Enter the code (case insensitive) *

If you can not read the code, click here to generate a new code



Mauro-2021-09-14 15:20
thanks so much for giving us a great tool ! i use the site everyday :)
Reply

Answer
Captcha

Enter the code (case insensitive) *

If you can not read the code, click here to generate a new code




Conditions of Use
These tools might interest you:
convert:
PHP to PythonPython to javascriptKotlin to javaTypeScript to JavaScriptXPath to CSS selectorjson to python object onlineJSON to PHPXML to JSON Converter
Playgrounds:
MongoDB onlineSQL to MongoDB ConverterSQL onlineOracle onlineSQL Server onlineJavaScript validatorJSONPath TesterXPath TesterRegex TesterSQLite browserMySQL onlinePostgreSQL online
API tools:
Fake APIJSON storageMock RESTWeb service testingOnline REST clientOnline SOAP client
Random Data Generator:
Data generatorXML generatorCSV generatorJSON generator
Code checkers:
Python Code CheckerRuby Code CheckerPHP Code Checker
Code testers:
Lua testerSQL syntax checkerPython testerOnline Golang CompilerOnline Java CompilerPHP tester
Diff:
XML diffJSON diffJSON PatchCSV diffText diffPDF diff
Converters:
SQL to SQLParquet to CSV ConverterParquet viewerAvro viewerJSON to Excel ConverterCSV to Excelbase 64 encryptorYAML to JSONImage to base64
Formatters:
PHP FormatterCSV editorXML FormatterJSON FormatterReact FormatterPython FormatterJavaScript formatterSQL formatterHTML Formatter
Validators:
Query builderJSON Schema Validator And GeneratorXML ValidatorXSD Validator
Minifiers:
CSS formatter
Generators:
Robots.txt GeneratorFree Sitemap Generator
Encoders:
HTML encodeJWT decoderURL encode
Other:
CSV splitterMerge CSVTAR to ZIP OnlinePDF ViewerGUID GeneratorNotepad OnlineUUID GeneratorExcel viewerZip filesUnzip filesDeveloper resourcesheight and width compressor

Disclaimer: The tools are provided "as is", without warranty of any kind, either express or implied.
Any links to third-party website or software available on this website are provided "as is",
without warranty of any kind, either express or implied and are to be used at your own risk.


You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.