تنظيف المسافات الزائدة والأحرف المخفيةExtra Spaces & Hidden Character Cleaner

احذف المسافات المكررة وNBSP والأحرف الصفرية العرض وحوّل نهايات الأسطر، مع تقرير بالأحرف المخفية المكتشفة ورموزها في Unicode.Remove repeated spaces, NBSP and zero-width characters and normalize line endings, with a report of the hidden characters found and their Unicode code points.

مساحة العملWorkspace

كيف تُحسب النتيجة؟How the result is calculated

يُمسح النص حرفًا حرفًا (بوحدات Unicode الكاملة) فيُبلَّغ عن كل حرف غير مرئي مع رمزه (U+00A0 مثلًا) وعدده، ثم تُطبَّق الخيارات بترتيب ثابت: توحيد نهايات الأسطر، حذف الصفرية، تحويل المسافات الخاصة إلى مسافة عادية، اختصار المتكرر، ثم قصّ الأسطر والأسطر الفارغة. ZWNJ وZWJ تُحفظ افتراضيًا لأن العربية والفارسية والإيموجي المركّب تحتاجهما.The text is scanned character by character (full Unicode code points) and every invisible character is reported with its code point (e.g. U+00A0) and count, then the options are applied in a fixed order: line-ending normalization, zero-width removal, special spaces to a normal space, collapsing repeats, then line trimming and blank lines. ZWNJ and ZWJ are kept by default because Arabic, Persian and composite emoji need them.

حدود الأداة:Limits: لا تعرف الأداة اللغة: حذف ZWNJ قد يغيّر كلمات فارسية، وحذف ZWJ يفكّ الإيموجي المركّب (👨‍👩‍👧 تصبح ثلاثة وجوه). المسافات داخل الشيفرة قد تكون ذات معنى (YAML وMarkdown وPython) فراجع النتيجة قبل لصقها.The tool does not know the language: removing ZWNJ can change Persian words, and removing ZWJ breaks composite emoji (👨‍👩‍👧 becomes three faces). Spaces inside code may be meaningful (YAML, Markdown, Python), so review the result before pasting it back.

أسئلة شائعةFAQ

ما الفرق بين المسافة العادية وNBSP؟What is the difference between a space and NBSP?

NBSP (U+00A0) تبدو كمسافة لكنها لا تسمح بكسر السطر، وكثيرًا ما تظهر عند اللصق من الويب أو Word.NBSP (U+00A0) looks like a space but prevents line breaks, and often appears when pasting from the web or Word.

لماذا يظهر نص نظيف ولا يزال به مشكلة؟Why does clean-looking text still misbehave?

قد يحوي أحرفًا صفرية العرض غير مرئية؛ فعّل حذفها وراجع التقرير.It may contain invisible zero-width characters; enable their removal and read the report.