صغّر JSON وتحقق من صحته داخل متصفحك، وشاهد كم بايت توفّر.
كيفية استخدام مصغِّر JSON
الصق JSON الخاص بك.
يُتحقَّق من صحته ويُصغَّر تلقائياً.
انسخ المخرج المصغَّر وتحقق من البايتات الموفَّرة.
A JSON minifier validates your JSON and strips out every unnecessary character, the spaces, indentation and line breaks that make JSON readable, then reports how many bytes and what percentage you saved.
Minified JSON is identical in meaning to the formatted version; only the cosmetic whitespace is gone. That makes it the right form for production: API responses, config bundled into an app, or any payload where transfer size and parse time matter.
It runs in your browser using the native JSON engine, so the output is exactly what your own code would produce. Because it parses first, a successful minify also confirms your JSON is valid; invalid input returns a precise error instead.
One subtle effect is number normalization, which is part of the JSON standard rather than this tool: 1.50 becomes 1.5 and 1e3 may be rewritten, because those represent the same value. Keys, strings, booleans and structure are never changed.
Minification and gzip are complementary, not alternatives. Servers usually gzip responses, which compresses repeated text heavily; minifying first removes whitespace the compressor would otherwise have to handle, and the two together give the smallest transfer.
When you need to read or edit JSON instead of shrink it, the JSON Formatter does the reverse, pretty-printing it with clean indentation. Nothing you paste here is uploaded.
الأسئلة الشائعة
يزيل كل المسافات وفواصل الأسطر غير الضرورية، منتجاً أصغر JSON صالح بالبيانات نفسها، وهو أسرع في النقل.
لا. يُزال التنسيق فقط. تُحفَظ المفاتيح والقيم والأنواع، وتُطبَّع الأرقام وفق معيار JSON (مثلاً يصبح 1.50 هو 1.5).
سترى رسالة خطأ المحلل لتصلحه. لا يُصغَّر أي شيء حتى يصبح JSON صالحاً.
ضمّن هذه الأداة
أضف هذه الأداة إلى موقعك الخاص. انسخ المقتطف أدناه، ويبقى محدّثاً تلقائياً.
<iframe src="https://monu.tools/embed/ar/json-minifier" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>أدوات ذات صلة
نسّق JSON وجمّله وتحقّق من صحته عبر الإنترنت، مع رسائل خطأ واضحة للمدخلات غير الصحيحة.
حوّل JSON إلى CSV وأعد CSV إلى JSON في كلا الاتجاهين. اختر الفاصل، وتعامل مع الحقول المقتبسة، وانسخ النتيجة. كل شيء يعمل داخل متصفحك.
حوّل YAML إلى JSON وأعد JSON إلى YAML في كلا الاتجاهين. يتحقق من الصحة أثناء التحويل ويعرض أخطاء واضحة. كل شيء يعمل داخل متصفحك.
ولّد واجهات TypeScript من عينة JSON، مع الأنواع المتداخلة والمصفوفات والحقول الاختيارية. يعمل داخل متصفحك.