How to Remove Dates from Text Online
Paste your text into a date remover, and the dates come out while the sentences around them stay readable. “Meeting on December 25, 2026 at 2:00 PM” becomes “Meeting on at 2:00 PM” — the words are untouched, the date is gone, and the time is still there if you want it.
A date is not one shape. In the US it looks like 12/25/2026 or December 25, 2026; in the UK like 25/12/2026 or 25 December 2026. Some arrive as 2026-12-25, some as “25th Dec 2026”, and some hide inside a timestamp such as 2026-12-25 14:30. A tool that only looks for one shape will miss the rest, and a tool that is too eager will strip a price or a phone number that was never a date at all.
Key takeaways
- Removing dates deletes date patterns only. Words, prices, phone numbers, order numbers and email addresses stay.
- Pick the mode first: delete every date, replace each one with a placeholder like [date], keep only the dates, or strip the date but keep the time.
- Dates come in more shapes than 12/25/2026 — UK order, month names, ISO 2026-12-25, timestamps and bare years all count.
- 03/04/2026 is 3 April in the UK and 4 March in the US. A tool that assumes one order will misread the other.
- A date is not just any run of digits. Prices, phone numbers, order IDs, version numbers and ZIP codes look similar and must survive.
- Removing a date does not remove the spaces around it. Expect double spaces where a date sat between two words.
- Word, Google Docs and Excel have no command that removes dates from text.
What counts as a date?
Before running anything, it helps to know what you are asking the tool to find: a day, a month and a year in some order, written with numbers, words, or a mix of both — and the order changes by country.
US dates put the month first. 12/25/2026, 12-25-2026 and December 25, 2026 all mean the same day, with Dec 25, 2026 just as common. A matcher that only recognises slashes will miss the ones written with dashes or month names.
UK dates put the day first, and this is where most tools fall short. 25/12/2026 is Christmas Day in the UK, and 25 December 2026 is the same date written out. A tool built only for US dates will read 25/12/2026 as nonsense — there is no 25th month — and leave it in place.
Then there is the international format. ISO 8601, the standard published by the International Organization for Standardization, writes dates as YYYY-MM-DD: 2026-12-25. Log files, databases and APIs use it, and it can only be read one way.
What is not a date matters just as much. A price like $49.99, a phone number like (555) 123-4567, an order ID like 884193 and a version number like 2.4.1 are all runs of digits a careless tool will happily delete. The difference is structure: a date has a recognisable grouping — a day between 1 and 31, a month between 1 and 12, and a year — with a separator or a month name holding it together.
Choose the mode before you paste anything
Most date removers offer more than one operation, and they are not interchangeable. The table below is the decision to make first — the same text gives a different result under each one.
| Mode | What it does | Use it when |
|---|---|---|
| Delete all dates | Every date is removed and nothing takes its place | Cleaning a caption, a product description or a spreadsheet column |
| Replace with placeholder | Each date becomes [date], [DATE] or a word you choose | Sharing a log, ticket or AI prompt where the reader should know a date was there |
| Keep only dates | Everything except the dates is deleted, leaving a list of dates | Pulling every date out of a long document to build a timeline |
| Remove date, keep time | “2026-12-25 14:30” becomes “14:30” | Cleaning timestamps in a log where the time of day still matters |
How to remove dates from text online
The fastest way to do this is a browser tool that runs entirely on your machine, so the text never leaves your computer. No account, no upload, no install.
Start by deciding which shapes your text actually contains. Skim a few lines: slashes, dashes, month names or the ISO order. That tells you which options to switch on — a tool set to US dates only will walk straight past 25/12/2026.
Paste the text in, pick the mode from the table above, and run it. Then read the output before you copy it out: every date shape gone, nothing else missing, sentences still reading properly.
If dates are left in the result, the usual cause is a shape the tool was not set to catch. Month names with ordinal suffixes — “25th Dec 2026” — and two-digit years — “25/12/26” — are the two that most often survive a first pass. Switch those options on and run the text again rather than deleting the survivors by hand.
The US/UK trap: 03/04/2026 means two different days
This is the one problem that catches people who have never thought about date formats before. 03/04/2026 is 4 March in the US and 3 April in the UK. Both readings are correct, and nothing in the digits themselves tells you which one the writer meant.
For removal, the ambiguity matters less than it does for reading — a date is a date either way, and it should come out under both readings. But it matters a great deal for the reverse job. If you are pulling dates out of text to build a timeline or a spreadsheet, a tool that assumes US order will silently turn a UK 03/04/2026 into 4 March. Tell the tool which order your text uses before you run it, and check any date where both numbers are 12 or under, because those are the only ones that can flip.
Timestamps, partial dates and Unix epoch values
Real text rarely holds tidy dates on their own. Log files hold timestamps: 2026-12-25 14:30:00, or the ISO form 2026-12-25T14:30:00Z. A date remover that only matches the date part will leave the time behind, so “2026-12-25 14:30″ becomes ” 14:30″ — which may be exactly what you want, or a half-finished job. Decide before you run it whether the time goes too.
Partial dates are the next wrinkle. Some text holds only a month and a year — “Dec 2026”, “12/2026” — or only a year — “2026”. A year on its own is almost never safe to remove: “2026” could be a year, a model number, a room number or part of an order ID, and deleting every four-digit number would wreck the text. Most tools treat a bare year as off-limits for that reason. If you need month-and-year dates gone, use a partial-date option as a separate pass.
Unix timestamps are the last shape to watch for. A ten-digit number like 1766668800 is a date — the number of seconds since 1 January 1970 — but it looks exactly like an order ID or a phone number without its punctuation. No ordinary date remover will catch it, since that would mean deleting every ten-digit number in the text. If your logs hold epoch values, that is a job for a small script rather than a browser tool, and the regex section below covers it.
Dates vs other numbers: what must survive
The hard part of removing dates is not finding them. It is leaving everything else alone. A date shares its building blocks — digits, slashes, dashes, dots — with most of the other numbers in a piece of text. Prices are the most common casualty: $49.99 and £12.50 both contain digits and a dot, and a matcher that is too loose will eat the price along with the date. Phone numbers are next: removing phone numbers is a separate job with its own patterns, and a date tool should not be doing it by accident. Order IDs, version numbers like 2.4.1, ZIP codes, times like 9:00 and plain years all sit in the same danger zone.
The practical way to protect them is to run the date pass first and check the result against the original before doing anything else. Compare a few lines side by side: if a price or a phone number vanished, the tool’s pattern was too broad, and a narrower one — or a different tool — is the answer. If you also need numbers gone, do it as a separate pass with the guide on removing numbers, so each pass has one job and one thing to check.
The leftover-spaces problem
Removing a date does not remove the spaces around it. “Meeting on December 25, 2026 at 2:00 PM” becomes “Meeting on at 2:00 PM”, with two spaces where the date used to sit. A date at the start of a line leaves a leading space; a date at the end leaves a trailing one.
Most date removers have a “clean up extra spaces” option that collapses those doubles as part of the same run — switch it on. If yours does not, a second pass with a space-cleaning step does the same thing. The order matters: remove the dates first, then fix the spacing, because the spacing problem is created by the removal. For a fuller treatment of the gaps left behind, see the guide on removing spaces.
Removing dates in Word, Google Docs and Excel
None of the big editors has a command that removes dates from text. That is worth saying plainly, because it is the question people ask first after trying the obvious menus.
Word’s Find and Replace can do part of the job if your dates all share one shape. With wildcards switched on, a pattern like [0-9]{2}/[0-9]{2}/[0-9]{4} will find US dates written with slashes, and replacing them with nothing removes them. It will not catch month names, ISO dates or UK order — each shape needs its own pattern and pass — so it only suits a document where every date looks the same.
Google Docs has no wildcard search at all, so the same trick does not work there. Its Find and Replace handles plain text only, which means you can delete one specific date at a time — “December 25, 2026” — but not every date in the document.
Excel is a different case. Dates in a spreadsheet are usually real date values, not text, and the fix is to change the cell format or clear the cells — not to run a text tool over them.
Notepad++ and VS Code sit between the two worlds. Both have regex find-and-replace, so the patterns in the next section work there, and both can run them across a whole file or a whole folder at once.
A regex one-liner for repeat jobs
If this is a job you do every week, a small pattern beats a browser tool. The pattern below covers the three common shapes — US slashes, ISO dashes and month names — written for Python, with the JavaScript version beside it. Both follow standard regex behaviour.
In Python:
import re
text = "Meeting on 12/25/2026 and 2026-12-25."
clean = re.sub(r"\b\d{1,2}/\d{1,2}/\d{4}\b|\b\d{4}-\d{2}-\d{2}\b", "", text)
In JavaScript:
const clean = text.replace(/\b\d{1,2}\/\d{1,2}\/\d{4}\b|\b\d{4}-\d{2}-\d{2}\b/g, "");
Month names need a second pattern, because they are words rather than digits:
re.sub(r"\b(?:January|February|March|April|May|June|July|August|September|October|November|December)\s+\d{1,2}(?:st|nd|rd|th)?,?\s+\d{4}\b", "", text)
Two warnings before you use any of this. First, the slash pattern matches both US and UK order, because the digits alone cannot tell them apart — fine for removal, a problem only if you are extracting dates to use elsewhere. Second, run the result through a space-collapsing step, or the output will carry the double spaces described above. A Unix epoch value is a separate pattern again — a bare ten-digit number — and matching it safely means checking the surrounding text first, since it is indistinguishable from an order ID.
Why people strip dates out — and when to keep them
The most common reason is privacy. A date of birth is personal information, and it turns up in places people do not expect: a support ticket pasted into a public forum, a chat export shared with a colleague, a log file attached to a bug report. Stripping dates of birth before sharing is the same instinct as removing email addresses from the same text — the words stay useful, the personal details do not travel with them.
The other common reason is reuse. A template, a job posting, a product description or a press release that still carries last year’s dates reads as stale, and removing the dates is faster than rewriting the piece.
There are times to leave the dates in. A contract, a medical record, an invoice or a legal document loses meaning without its dates, and removing them there is not cleaning — it is altering the record. If you are unsure, replace the date with a placeholder like [date] instead of deleting it, so a reader can still see that a date was there.
Frequently asked questions
Will removing dates also delete times, prices and phone numbers?
It should not, if the tool is set up properly. Times, prices and phone numbers have different shapes from dates, and a date remover should only match date patterns. Check the output against the original — especially prices and phone numbers — before you use it.
How do I remove UK dates as well as US ones?
Use a tool with a UK or day-first option, or one that matches both orders. US dates put the month first (12/25/2026) and UK dates put the day first (25/12/2026). A tool set to US order only will leave UK dates untouched.
What about timestamps like 2026-12-25 14:30?
Most date removers match the date part and leave the time behind, so “2026-12-25 14:30” becomes “14:30”. If you want the time gone too, look for a timestamp option, or delete the whole timestamp. Log files usually need the whole timestamp removed; chat exports usually need only the date gone.
Can Word remove all dates from a document at once?
Not with one command. Word’s Find and Replace with wildcards can remove dates that all share one shape — for example, every date written as 12/25/2026 — but month names, ISO dates and UK order each need their own pattern and their own pass.
What is the difference between removing a date and redacting it?
Removing a date deletes it and leaves nothing behind; redacting it replaces it with a marker such as [date] or [DOB]. Removal is right when the date is clutter. Redaction is right when someone reading the text should know a date was there — in a shared log, a ticket or a document under review — without seeing the date itself.
