JavaScript मिनिफ़ायर

JavaScript से टिप्पणियाँ और स्पेस हटाएँ।

आपके ब्राउज़र में चलता है। आपकी फ़ाइलें कभी आपके डिवाइस से बाहर नहीं जातीं। जाँचने का तरीका देखें

…

कैसे करें

  1. 1
    खाने भरें

    अपने नंबर लिखें या ज़रूरी विकल्प चुनें।

  2. 2
    नतीजा देखें

    कोई मान बदलते ही जवाब तुरंत अपडेट होता है।

  3. 3
    इस्तेमाल करें

    नतीजा कॉपी करें या लिख लें। कुछ भी कहीं नहीं भेजा जाता।

इस टूल के बारे में

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.

बेहतर नतीजों के लिए सुझाव

किसी नतीजे पर भरोसा करने से पहले हर खाना जाँच लें, क्योंकि एक ग़लत अंक पूरा जवाब बदल देता है। अपनी पेस्लिप, बिल, प्रमाणपत्र या अनुबंध के सटीक आँकड़े इस्तेमाल करें, और जिस तारीख़ को हिसाब किया उसे नोट कर लें। दरें, सीमाएँ और नियम समय-समय पर बदलते हैं, इसलिए टैक्स, शुल्क और क़ानूनी मामलों में नतीजे को अनुमान मानें और इस पेज पर बताए आधिकारिक स्रोत से पुष्टि करें। आप जितने चाहें परिदृश्य आज़मा सकते हैं; कुछ भी सेव या भेजा नहीं जाता, और पेज रीफ़्रेश करने पर खाने साफ़ हो जाते हैं।

मुख्य बातें

इस कैलकुलेटर को अपनी साइट पर लगाएँ

कैलकुलेटर को अपने पेज पर दिखाने के लिए यह कोड कॉपी करें। shobfree.com का वापसी लिंक शामिल है।

अक्सर पूछे जाने वाले सवाल

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.

पूरी तरह मुफ़्तकोई खर्च नहीं, साइन-अप नहीं
फ़ाइलें निजी रहती हैंसब कुछ आपके ब्राउज़र में चलता है
आपकी भाषा में आसानकई भाषाओं में उपलब्ध