# حذف المسافات الزائدة

> أزل المسافات البيضاء من الطرفين، أو اختزل المكرر منها، أو احذفها جميعًا.

[Open tool](https://www.toolcabana.com/ar/remove-spaces) · [النصوص والكتابة](https://www.toolcabana.com/ar/category/text-and-writing)

Tool ID: remove-spaces. Requested language: ar. Description language: ar. Complete guide translation: yes.

## Overview (en)

Remove Extra Spaces cleans up whitespace in three ways: collapse repeated spaces and tabs into one, trim spaces from the start and end of each line, or remove every whitespace character. In the default collapse mode, Preserve paragraph breaks keeps your line structure; turning it off folds all whitespace, including line breaks, into single spaces.

## Supported tasks (ar)

أزل المسافات البيضاء من الطرفين، أو اختزل المكرر منها، أو احذفها جميعًا.

## Steps (ar)

1. اكتب النص أو الصقه، أو حمّل مثالًا.
2. غيّر الإعدادات الأساسية أو افتح الوضع المتقدم لضبط النتيجة بدقة.
3. راجع النتيجة وانسخها أو نزّلها. أوقف النتائج المباشرة مؤقتًا للتشغيل اليدوي. يتطلب النص أو أي إعداد منفرد يتجاوز 20,000 محرف تشغيلًا صريحًا.

## Settings

- الحفاظ على فواصل الفقرات (ar; key: preserve; type: checkbox)
- المسافات البيضاء (ar; key: mode; type: select): اختزال المسافات البيضاء المتكررة [ar], إزالة المسافات من طرفي الأسطر [ar], حذف جميع المسافات البيضاء [ar]

## Limitations (ar)

تقبل عمليات النص عادةً ما يصل إلى 2,000,000 محرف. تفرض أدوات التحليل والتوليد والصيغ الفردية حدودًا إضافية تظهر في عناصر التحكم الخاصة بها.

## Example input

```text
Hello world.
A second line.
Café, İstanbul, 日本語, and 👨‍👩‍👧‍👦.
```

## Privacy and connections (ar)

تعالج هذه العملية النص في متصفحك. يتطلب النسخ والتنزيل إجراءً صريحًا؛ ولا يُحفظ النص المدخل في حساب أو سجل.

## Questions (ar)

### How do I replace double spaces with a single space?

Use the default Collapse repeated whitespace mode. Runs of spaces and tabs become one space and each line is trimmed at both ends, while line breaks stay in place as long as Preserve paragraph breaks is on.

### How do I remove all spaces from a string?

Choose Remove all whitespace. Every space, tab and line break is deleted, so the whole input becomes one continuous string, which helps when cleaning up codes or numbers that were copied with spacing.

### Can I trim leading and trailing spaces on every line?

Yes. Select Trim line edges. Spaces and tabs at the start and end of each line are removed, while the spacing between words and all line breaks are left unchanged.

### أين تتم معالجة النص المدخل؟

تعالج هذه العملية النص في متصفحك. يتطلب النسخ والتنزيل إجراءً صريحًا؛ ولا يُحفظ النص المدخل في حساب أو سجل.

### ما حدود الإدخال؟

تقبل عمليات النص عادةً ما يصل إلى 2,000,000 محرف. تفرض أدوات التحليل والتوليد والصيغ الفردية حدودًا إضافية تظهر في عناصر التحكم الخاصة بها.

## Related tools

- [Remove line breaks](https://www.toolcabana.com/ar/remove-line-breaks)
- [Remove accents](https://www.toolcabana.com/ar/remove-accents)
- [Remove punctuation](https://www.toolcabana.com/ar/remove-punctuation)
- [Sort lines alphabetically](https://www.toolcabana.com/ar/sort-lines)
