Diese Seite ist noch nicht auf Deutsch verfügbar, daher zeigen wir die englische Version.

Remove Extra Spaces From Text

Collapse double spaces, runs of spaces and stray tabs into a single space — line breaks are kept. Handy for text copied from PDFs, emails and websites.

Aktualisiert am
Result

Deine Daten verlassen nie deinen Computer. Die Verarbeitung erfolgt zu 100 % lokal im Browser.

So nutzt du: Remove Extra Spaces

  1. Paste your text — the rule that collapses repeated spaces is already set.
  2. Check the count of replacements and the highlighted spots.
  3. Copy the cleaned text.

What the rule does

The pattern [ ]{2,} finds two or more spaces or tabs in a row and replaces them with one space, without touching line breaks. To also trim spaces at the start and end of lines, add a second rule: ^[ ]+|[ ]+$ → (empty).

Joining broken lines too? Use Remove Line Breaks.

Auch gesucht als: remove double spaces, remove multiple spaces, collapse whitespace, clean up spaces, remove spaces from text.

Passende Tools zu: Remove Extra Spaces

  • Find and Replace — Paste text and replace words or patterns — case-sensitive or not, whole words only, or with regular expressions and $1 capture groups.
  • Remove Empty Lines — Delete every empty line — including lines with only spaces or tabs — from lists, code, logs and CSV files.
  • Remove Duplicate Lines — Paste a list to remove duplicate lines instantly.
  • Wortzähler — Füge deinen Text ein oder gib ihn ein, um Wörter und Zeichen in Echtzeit zu zählen – dazu kommen Lese- und Sprechzeit, Schlüsselwortdichte sowie Längenprüfungen für SEO-Titel, Meta-Beschreibungen und Social-Media-Beiträge.

Häufige Fragen

Are line breaks removed?
No — only spaces and tabs are collapsed. Use Remove Line Breaks to join lines.
Can I remove all spaces?
Change the Find pattern to s+ (or a single space) and leave Replace empty.
Is my text private?
Yes. Cleaning happens in your browser.
Kann ich Remove Extra Spaces als Web-App installieren und offline nutzen?
Ja. Remove Extra Spaces ist eine installierbare Web-App (PWA) – sie wird über Ihren Browser installiert und nicht aus einem App-Store heruntergeladen. Klicken Sie oben auf dieser Seite in Chrome oder Edge (Windows, macOS, Linux, ChromeOS) auf „App installieren“ oder verwenden Sie auf Android-Geräten „Teilen“ → „Zum Startbildschirm hinzufügen“ auf dem iPhone und iPad bzw. „Datei“ → „Zum Dock hinzufügen“ in Safari 17+ auf einem Mac. Die App öffnet sich dann in einem eigenen Fenster mit einem eigenen Symbol, und da sie vollständig in Ihrem Browser ausgeführt wird, funktioniert sie auch offline. Firefox auf dem Desktop kann keine Web-Apps installieren. So funktioniert die Installation.

Ähnliche Tools