ضغط ملفات JavaScript (JS) وتصغيرها

مجاني وخاص وبدون تسجيل.

🔒 كل شيء يتم داخل متصفحك. لا شيء يُرفع لأي خادم.

⇪
اسحب ملفاتك أو مجلداً إلى هنا أو اضغط للاختيار، أو الصق صورة بـ Ctrl+V

</>الصق الكود هنا واضغطه فوراً

الكود الأصلي
الناتج المضغوط

سيظهر الناتج هنا

ضغط ملفات JavaScript (JS) وتصغيرها

يصغّر ملف JS بمحرك Terser: يحذف التعليقات والمسافات ويختصر أسماء المتغيرات المحلية. الناتج name.min.js. ملفات ES modules تُعالج أيضاً. جرّب الموقع بعد الاستبدال للتأكد.

الأداة مجانية وتعمل بالكامل داخل متصفحك، فلا يُرفع ملفك إلى أي خادم ولا تحتاج إلى تسجيل أو تثبيت برنامج.

طريقة الاستخدام

  1. اسحب الملف إلى المربع في الأعلى أو اضغط لاختياره.
  2. افتح تبويب «تحويل الصيغة» واضغط القطاع MINIFY (يظهر مميّزاً بلون أغمق).
  3. انتظر لحظات ثم اضغط «تنزيل».

أسئلة شائعة

هل ملفاتي آمنة؟

نعم. المعالجة تتم داخل متصفحك على جهازك، ولا يصل أي ملف إلى خادم الموقع.

هل الخدمة مجانية؟

نعم، مجانية بالكامل وبدون علامة مائية أو تسجيل.

ما الذي يجب أن أعرفه قبل التحويل؟

يصغّر ملف JS بمحرك Terser: يحذف التعليقات والمسافات ويختصر أسماء المتغيرات المحلية. الناتج name.min.js. ملفات ES modules تُعالج أيضاً. جرّب الموقع بعد الاستبدال للتأكد.

أدوات أخرى

Minify JavaScript (JS) files

Minifies a JS file with the Terser engine: it removes comments and whitespace and shortens local variable names. The result is name.min.js. ES module files are handled too. Test your site after replacing the file.

The tool is free and runs entirely inside your browser, so your file is never uploaded to any server and there is no sign-up or software to install.

How to use it

  1. Drop the file in the box above or click to choose it.
  2. Open the "Convert format" tab and click the MINIFY slice (it is highlighted in a darker color).
  3. Wait a moment, then click "Download".

FAQ

Are my files safe?

Yes. Processing happens in your browser on your own device, and no file reaches the website's server.

Is it free?

Yes, completely free with no watermark and no sign-up.

What should I know before converting?

Minifies a JS file with the Terser engine: it removes comments and whitespace and shortens local variable names. The result is name.min.js. ES module files are handled too. Test your site after replacing the file.

More tools