مصغّر CSS
صغّر CSS داخل متصفحك مع الحفاظ على النصوص والروابط والتعليقات المهمة والمسافات ذات المعنى.
صغّر JavaScript داخل متصفحك باستخدام محلّل. لا يُنفَّذ الكود.
تعمل هذه الأداة في متصفحك. تبقى المدخلات والملفات والقيم الناتجة على هذا الجهاز. تحفظ المفضلة والأدوات المستخدمة مؤخرًا، إن استخدمتها، أسماء الأدوات فقط في التخزين المحلي، ولا تحفظ أبدًا كلمات المرور أو المستندات أو محتوى رموز QR. راجع سياسة الخصوصية.
الدليل المفصّل لهذه الأداة (طريقة الاستخدام والأمثلة والأسئلة الشائعة) متوفر بالإنجليزية حاليًا.
Parse JavaScript with Terser, then compress and mangle it. Use it when a small script should be shorter and you want a parser rather than find-and-replace. The script is not run, and TypeScript comes back as an error.
function greet(name) { return "Hello, " + name; } is parsed, then shortened by removing whitespace and renaming locals where safe.
If the parser cannot read the file, you get an error. The tool does not try to “fix” broken JavaScript.
JavaScript cannot be minified safely with simple find-and-replace. This tool uses Terser in the browser to parse the source, then compress and mangle it. Your code is not executed with eval or new Function. Constant-expression evaluation is turned off so user expressions are not run during minify. Very large files are rejected so the tab stays responsive.
Terser parses the source, then compresses and mangles it. The script is not run. TypeScript, and JavaScript the parser cannot read, come back as an error rather than a shorter file. Constant expressions are not evaluated during the pass.
See the disclaimer for what these tools do not cover.
صغّر CSS داخل متصفحك مع الحفاظ على النصوص والروابط والتعليقات المهمة والمسافات ذات المعنى.
صغّر HTML داخل متصفحك بمعالجة حذرة تحافظ على محتوى pre وtextarea وscript وstyle.
نسّق JSON ليسهل قراءته أو صغّره أو تحقّق من صحته. التعليقات والفواصل الزائدة في النهاية وعلامات الاقتباس المفردة غير مسموحة. لا يحوّل إلى CSV.
رمّز النص إلى Base64 أو فكّ ترميزه باستخدام UTF-8. يستطيع أي شخص فك الترميز، لذا لا يخفي كلمة المرور. لا تُقبل الملفات.
أنشئ قيمة UUID v4 واحدة أو أكثر داخل متصفحك باستخدام مصدر عشوائي آمن.
رمّز أجزاء الرابط أو فكّ ترميزها داخل متصفحك باستخدام encodeURIComponent.