JavaScript Küçültücü

JavaScript'ten yorumları ve boşlukları kaldırın.

Tarayıcınızda çalışır. Dosyalarınız cihazınızdan asla çıkmaz. Nasıl kontrol edeceğinizi görün

…

Nasıl yapılır

  1. 1
    Kutuları doldurun

    Sayılarınızı yazın ya da ihtiyacınız olan seçenekleri seçin.

  2. 2
    Sonucu görün

    Bir değeri değiştirdiğinizde yanıt hemen güncellenir.

  3. 3
    Kullanın

    Sonucu kopyalayın ya da not edin. Hiçbir şey hiçbir yere gönderilmez.

About this tool

Paste your JavaScript and the tool removes comments and unnecessary whitespace while keeping strings, template text and regular expressions safe. This is a light minifier: it does not rename variables. For the smallest possible file use a build tool, but this is quick for small scripts and snippets.

When to use it

Remove comments and spaces from JavaScript.

Tips

Use a full build tool for large projects.

Privacy

Everything runs in your browser, so your data is not uploaded or stored.

What it does not do

This simple minifier removes comments and extra whitespace. It does not rename variables or remove dead code, so the saving is smaller than with a full build tool. Always test the minified script.

En iyi sonuç için ipuçları

Bir sonuca güvenmeden önce her kutuyu kontrol edin, çünkü tek bir yanlış rakam tüm cevabı değiştirir. Maaş bordronuzdan, faturadan, sertifikadan veya sözleşmeden tam rakamları kullanın ve hesapladığınız tarihi not edin. Oranlar, eşikler ve kurallar zaman zaman değişir; vergi, ücret ve hukuki konularda sonucu tahmin olarak görün ve bu sayfada belirtilen resmî kaynakla doğrulayın. İstediğiniz kadar senaryo deneyebilirsiniz; hiçbir şey kaydedilmez ya da gönderilmez, sayfayı yenilemek kutuları temizler.

Kısaca

Bu hesaplayıcıyı sitenize ekleyin

Hesaplayıcıyı kendi sayfanızda göstermek için bu kodu kopyalayın. shobfree.com'a geri bağlantı dahildir.

Sık sorulan sorular

Does it rename my variables?

No. It only removes comments and extra whitespace, so the code stays readable to debug.

Is my code uploaded?

No. Everything runs in your browser.

Does it rename variables?

No. It only removes comments and spaces.

Is it safe?

It keeps the logic unchanged.

Is the minified file safe to use?

Test it, since removing line breaks can matter in rare cases without semicolons.

Tamamen ücretsizÜcret yok, kayıt yok
Dosyalar gizli kalırHer şey tarayıcınızda çalışır
Kendi dilinizde kolayBirçok dilde mevcut