Remove Spaces Before Punctuation
Removes spaces before a comma, period, ellipsis, closing quote or bracket and adds a space after the mark. Leaves links, numbers and emoji alone.
Result
The space gets pulled toward the comma, period, exclamation mark, question mark, colon, semicolon, ellipsis, and closing quote and parenthesis. A run of punctuation marks counts as one spot: before a pair like "?!" the space disappears in front of the first mark, and the pair itself stays together.
If there is no space after the mark, the tool adds one: "Hello,world" turns into "Hello, world", and "End.Start" becomes "End. Start". Spaces inside quotes and brackets get cleaned up as well: " Yes " becomes "Yes", and ( like this ) turns into (like this).
What stays untouched
Links, email addresses, numbers, dates, times, and letter abbreviations are left alone: a period inside a URL needs no space after it, or the link would stop working. Smileys stay as they are: ":)" and ": )" will not turn into a colon followed by a bracket. Below the result, a number shows how many times an exception saved a piece of text.
Rate this tool
Help us get better
Tell us what was missing.
Other tools
Cyrillic Transliteration
Converts Cyrillic text to translit, right in the browser.
Character Counter
Characters, words and paragraphs, platform limits and reading time.
Spell Checker
Typos and repeated words with replacement options, in Russian and English.
Create Text File
A text file from what you typed, with a choice of encoding
Text Diff Checker
Differences between two text versions, including the invisible edits
Markdown Editor
Markup on the left, result on the right, notes as a separate list
Case Converter
Every case at once: plain-text cases plus camelCase, snake_case, kebab-case
Reading Time Calculator
Reading time silent and aloud, with pauses, plus a label for the article