How to Remove Periods from Text Online
You can remove periods from text online in seconds: paste your text into a free browser-based text tool, choose whether to delete every period or only the ones at the ends of sentences, and copy the result. Nothing needs installing, and your text never has to leave your own computer.
The one thing to decide before you start is which periods you actually want gone. A period does several different jobs in a piece of text. It ends sentences, but it also sits inside decimal numbers like 3.14, abbreviations like Dr., file names like report.pdf, web addresses, and version numbers like 2.0.1. Strip every dot blindly and you will break all of those.
Key takeaways
- The fastest way is a free browser tool: paste, pick a mode, copy. Your text stays on your device.
- Decide the mode first: remove all periods, remove sentence-final periods only, replace periods with spaces, or keep decimals and abbreviations.
- In Word, Google Docs, or Excel, Find and Replace with “.” does the job — replace with nothing to delete, or with a space to keep words apart.
- In a regular expression, a period is a special character. You have to write
\.to match a literal dot, or the pattern will match almost any character. - After removing periods, check for double spaces and sentences that have run together.
What counts as a period — and what only looks like one
Most of the dots in a document are the ordinary ASCII period, the full stop at the end of a sentence. But text picked up from the web, PDFs, and other languages can contain lookalikes that a simple search for “.” will miss: the full-width period 。 (U+3002), common in Chinese and Japanese text, and the ellipsis character … (U+2026), which is a single character, not three periods.
In the UK the same mark is usually called a full stop; in the US, a period. They are the same character.
Choose your removal mode first
Every method below does one of these seven things.
| Mode | What it does | When to use it |
|---|---|---|
| Remove all periods | Deletes every “.” in the text | Cleaning data for analysis, word counts, or a word list |
| Remove sentence-final periods only | Deletes a period only when it ends a sentence | Turning prose into a single flowing line without breaking numbers |
| Replace with a space | Swaps each period for a space | When deleting would join two words, like “end.Start” becoming “endStart” |
| Collapse ellipsis runs | Turns “…” or “…” into nothing or a single space | Cleaning up hesitant or trailing-off text from chats and transcripts |
| Keep decimals | Removes periods except the ones inside numbers | Price lists, measurements, and any text with figures in it |
| Keep abbreviations | Removes periods except in Dr., Mr., e.g., U.S.A., and similar | Formal writing where abbreviations must stay readable |
| Keep only periods | Deletes everything except the periods | Rare — mostly a check to see where periods sit in a document |
Most people want one of the first three. The “keep decimals” and “keep abbreviations” modes are the ones that protect you from the commonest damage, and they are the reason a dedicated tool or a careful pattern beats a plain Find and Replace.
The fastest way: use a free browser tool
If you just want the job done, a browser-based text tool is the quickest route. The text is processed on your own device, so nothing is uploaded to a server, and there is nothing to install.
- Paste your text into the tool’s input box.
- Choose the mode: remove all, sentence-final only, or replace with a space. If the tool has “keep decimals” or “keep abbreviations” options, turn them on when your text has numbers or shortened forms in it.
- Run the tool and read the result before you copy it. Scan the first few lines for a broken number or a joined-up word.
- Copy the cleaned text and paste it where it belongs.
One warning about generic punctuation tools: many of them remove every punctuation mark at once. That is fine if you want all punctuation gone — see the guide to remove all punctuation at once — but it is the wrong choice when you only want the periods removed and the commas, question marks, and quotation marks kept.
How to remove periods in Word, Google Docs, and Excel
If your text already lives in a document or a spreadsheet, you do not need a separate tool. Find and Replace does it, and the same steps work in Microsoft Word, Google Docs, Excel, and Google Sheets, with only the menu names differing.
In Word, press Ctrl+H (Cmd+H on a Mac) to open Find and Replace. Type a period in the “Find what” box. Leave “Replace with” empty to delete every period, or type a single space if you want the words to stay separated. Click “Replace All”. In Google Docs the same dialog is under Edit > Find and replace, and in Excel it is under Home > Find & Select > Replace.
Two details matter here. First, replacing a period with nothing joins the words on either side of it: “end.Start” becomes “endStart”. If your text has periods with no space after them — common in copied web text and file names — replace with a space first, then tidy the extra spaces. Second, Find and Replace in Word and Docs removes every period, including the ones in decimals and abbreviations. There is no built-in “keep decimals” option, so if your text has numbers in it, use the browser tool above, or protect the numbers first by temporarily replacing “3.14” with a placeholder like “3X14”, removing the periods, and then putting the placeholder back.
For sentence-final periods only, Find and Replace alone is not enough, because it cannot tell a sentence end from a decimal point. A period followed by a space and then a capital letter is usually a sentence end; a period between two digits is usually a decimal. That distinction needs a pattern, which is where the editor methods below come in.
How to remove periods in Notepad++ and VS Code
Text editors give you regular expressions, which is what makes the smarter modes possible. The catch is that in a regular expression, a period is a special character: on its own it matches almost any single character, not a literal dot. MDN’s regular expressions guide states this directly — a period is listed among the special characters, and “if you need to use any of the special characters literally… you should escape it by putting a backslash in front of it.” So to match an actual period, you write \., and to match one or more periods you write \.+.
In Notepad++, open Find and Replace (Ctrl+H), tick “Regular expression” at the bottom, and use these patterns:
- Remove every period: find
\., replace with nothing. - Remove sentence-final periods only: find
\.(?=\s+[A-Z]), replace with nothing. This only matches a period followed by a space and a capital letter. - Replace periods with a space: find
\., replace with a single space. - Remove runs of two or more periods: find
\.{2,}, replace with nothing or a space. - Remove periods but keep decimals: find
\.(?!\d), replace with nothing. This skips a period that is followed by a digit, so 3.14 survives.
VS Code works the same way: Ctrl+H, click the .* icon to turn on regex, and use the same patterns. In both editors, test the pattern on a copy of your text first. The sentence-final pattern above will miss a sentence that ends a line, because there is no space and capital letter after the final period.
Remove periods with a one-line Python or JavaScript snippet
For a script or a repeatable step in a data pipeline, one line is enough. In Python:
text.replace(".", "") # remove every period
text.replace(".", " ") # replace each period with a space
import re
re.sub(r"\.", "", text) # same, with a regular expression
re.sub(r"\.(?!\d)", "", text) # remove periods but keep decimals like 3.14
re.sub(r"\.{2,}", " ", text) # collapse runs of periods into one space
In JavaScript, the same ideas apply. Note the backslash before the dot — without it, the pattern would match any character, not just a period:
text.replaceAll(".", "") // remove every period
text.replaceAll(".", " ") // replace each period with a space
text.replace(/\.(?!\d)/g, "") // remove periods but keep decimals
text.replace(/\.{2,}/g, " ") // collapse runs of periods into one space
The (?!\d) part is a lookahead: it says “match a period only when the next character is not a digit.” That single addition is what keeps 3.14, 2.0.1, and 192.168.1.1 intact while the sentence-final periods disappear.
What to keep: decimals, abbreviations, file names, and URLs
Most period-removal accidents come from one of five places. Knowing them in advance is most of the job.
Decimal numbers are the first. A price of 19.99, a measurement of 2.5 kg, or a percentage of 0.75 all lose their meaning if the dot goes. If you are cleaning text that contains figures, use the “keep decimals” mode or the \.(?!\d) pattern above.
Abbreviations are the second. Dr., Mr., Mrs., e.g., i.e., and U.S.A. all rely on their periods. Removing them leaves “Dr” and “eg”, which are still readable but no longer quite right, and “U.S.A.” becomes “USA”. If the abbreviations matter, protect them with the placeholder trick, or use a tool that lets you list abbreviations to keep.
File names are the third. Report.pdf, photo.jpg, and data.csv need their dots, because the part after the dot is the file type. A bulk cleanup of a file list will quietly break every name in it if you remove all periods. The same goes for version numbers (2.0.1), IP addresses (192.168.1.1), and domain names (example.com).
URLs and email addresses are the fourth. Removing the periods from https://example.com/page.html or name@example.com leaves text that no longer works as a link or an address. If your text contains links, strip the periods only from the prose around them, or use a tool that leaves URLs alone.
Ellipsis and initials are the fifth, and they get their own section next, because they behave differently from ordinary periods.
Ellipsis: three dots are not three periods
An ellipsis can appear as three separate periods (“…”), as the single character “…” (U+2026), or as three periods with spaces between them (“. . .”). Each form needs a different fix, and a plain remove-all will handle the first form but leave the single-character version untouched.
To remove the single-character ellipsis, search for … directly — copy it from your text and paste it into the search box, since it is hard to type on most keyboards. In a regular expression, the pattern \.{3} matches exactly three periods in a row, and \.{2,} matches any run of two or more. Replacing a run with a single space is usually better than deleting it outright, because “wait… what?” becomes “wait what?” with a space, but “waitwhat?” without one.
Clean up after removing periods
Removing periods leaves two kinds of mess behind, and both are easy to miss if you do not look for them.
The first is double spaces. “Hello. World.” with two spaces after the period becomes “Hello World” once the period is gone. Run a second pass that collapses multiple spaces into one — or use the guide to collapse the double spaces left behind.
The second is run-on sentences. “The meeting ended. We went home.” becomes “The meeting ended We went home” once the periods are gone, and a whole document treated that way turns into one long breathless paragraph. If you removed sentence-final periods on purpose — for a word list, a tag cloud, or a data file — that is expected, and it does not matter. But if you meant to keep the text readable, replace the periods with spaces or line breaks instead of deleting them, so each sentence still has a boundary. And if the removal created blank lines where sentences used to end, you can remove empty lines in a final pass.
Common mistakes to avoid
- Removing all periods from a document that contains numbers. Use the keep-decimals pattern or a tool with that option.
- Using a plain “.” in a regular expression. It matches any character, so
re.sub(".", "", text)in Python would delete the whole text. Always escape it:\.. - Replacing periods with nothing when there is no space after them. “end.Start” becomes “endStart”. Replace with a space, then collapse the doubles.
- Forgetting the ellipsis character. A remove-all pass leaves “…” untouched because it is a different character from three periods.
- Cleaning the only copy. Keep the original until you have checked the result — most of all in spreadsheets, where a bad Replace All cannot be undone once the file is saved and closed.
- Using a strip-all-punctuation tool when you only want the periods gone. You will lose commas, apostrophes, and question marks too.
Frequently asked questions
How do I remove periods from text online for free?
Paste your text into a free browser-based text tool, choose the remove-periods mode, and copy the result. The work happens on your device, so nothing is uploaded and nothing needs installing.
How do I remove periods without removing decimals?
Use a tool with a “keep decimals” option, or a regular expression that skips periods followed by a digit: \.(?!\d). That keeps 3.14, 19.99, and 2.0.1 intact while removing sentence-final periods.
How do I remove periods from text in Word?
Press Ctrl+H to open Find and Replace, type a period in the “Find what” box, and leave “Replace with” empty to delete every period — or type a space to keep words apart. Click “Replace All”. Word removes every period, including decimals and abbreviations, so use this only on text without numbers, or protect the numbers first.
What is the difference between removing periods and removing punctuation?
Removing periods takes out only the full stops. Removing punctuation takes out everything — commas, question marks, quotation marks, exclamation marks, and more. Use the period-only option when you want the rest of the punctuation to stay.
Can I remove only the periods at the ends of sentences?
Yes. In a text editor with regex turned on, find \.(?=\s+[A-Z]) and replace with nothing — that matches a period followed by a space and a capital letter, which is the usual shape of a sentence end. It will miss a sentence that ends at a line break, so check the last line of each paragraph.
Removing periods is a small job, but it is the kind of small job that goes wrong quietly — a broken decimal here, a joined word there, a file name that no longer opens. Pick the mode first, protect the numbers and abbreviations that matter, and read the result once before you use it.
