ToolCabana

Rimuovi spazi extra

Rimuovi, riduci o elimina gli spazi bianchi.

Favorites are saved in this browser. Find them in My favorites.

Rimuovi spazi extra

Instant results · processed in your browser
Update results automatically as you type or change settings. Turn off to run manually.Clear your input, files and result, and restore the default settings.
Load sample text to explore what this tool can do. This replaces your current input.
0 charactersClear the source text.

Type or paste to update the result automatically.

Your result appears here

Type, paste, or use an example. Copy your result when it is ready.

Come usare Rimuovi spazi extra

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.

  1. Digita o incolla il testo di origine, oppure carica un esempio.
  2. Modifica le impostazioni di base o apri la modalità avanzata per ottimizzare il risultato.
  3. Esamina e copia o scarica il risultato. Metti in pausa i risultati in tempo reale per eseguire manualmente. Origini o singole impostazioni superiori a 20.000 caratteri richiedono un'esecuzione esplicita.

Cosa supporta questo strumento

Rimuovi, riduci o elimina gli spazi bianchi.

Mantieni interruzioni di paragrafo
Set this value for your task.
Spazi bianchi
Riduci spazi bianchi ripetuti · Rimuovi spazi ai bordi delle righe · Rimuovi tutti gli spazi bianchi

Limiti ed elaborazione

Le operazioni di testo accettano in genere fino a 2.000.000 di caratteri. Parser, generatori e formule singoli applicano limiti aggiuntivi mostrati dai relativi controlli.

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

Domande frequenti

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.

Dove viene elaborato il mio input?

Questa operazione elabora i dati di origine nel tuo browser. Copia e download sono azioni esplicite; l'input di origine non viene salvato in un account né in una cronologia.

Quali sono i limiti di input?

Le operazioni di testo accettano in genere fino a 2.000.000 di caratteri. Parser, generatori e formule singoli applicano limiti aggiuntivi mostrati dai relativi controlli.