مضغوط JSON
ضغط وتصغير بيانات JSON لتقليل حجم الملف.
Reduce JSON Size
ضغط JSON يزيل المسافات غير الضرورية لتقليل حجم الملف.
الخصوصية أولاً
بيانات JSON لا تغادر متصفحك. تتم جميع المعالجة محلياً.
الأدوات الموصى بها
أدوات مختارة بعناية قد تجدها مفيدة
Minifying JSON to Shrink File Size
نظرة عامة
Minifying JSON removes all unnecessary whitespace — spaces, tabs, and line breaks — leaving the smallest valid representation. Smaller JSON transfers faster and uses less bandwidth, which matters for APIs and config files. This tool minifies your JSON instantly in the browser.
كيفية الاستخدام
- 1
Paste your JSON
Enter formatted or messy JSON.
- 2
Minify
The tool validates and removes all unnecessary whitespace.
- 3
Copy the compact output
Use the minified JSON wherever size matters.
كيف يعمل
The tool parses your JSON to confirm it is valid, then re-serializes it with no indentation or extra spacing. Because whitespace between tokens is meaningless in JSON, removing it does not change the data — only the size. Parsing first also catches syntax errors, so invalid JSON is flagged rather than silently mangled.
متى تستخدمه
Reducing the size of an API response or config payload. Preparing JSON for embedding in code or a query string. Stripping formatting before storing or transmitting data.
الأسئلة الشائعة
No. It only removes whitespace between tokens. The values, keys, and structure are identical — just smaller.