Home › Text Tools › Text Redaction Tool

Text Redaction Tool

Paste any text and personal data such as email addresses, phone numbers, links, card numbers and Social Security numbers is found and masked automatically. Add your own names or terms, pick how redactions look, and copy a version that is safe to share.

Last updated:

What to redact
What was found

Everything runs in your browser; nothing is uploaded. Always review the result: automatic patterns can miss unusual formats.

Advertisement
Advertisement

How to use the Text Redaction Tool

  1. Paste your text into the Original text box. An example loads so you can see how it works.
  2. Choose what to redact: tick the data types and add any names or terms, separated by commas or new lines.
  3. Pick a replacement style: solid blocks, [REDACTED], labels like [EMAIL], numbered labels or keep the last 4 characters.
  4. Check the highlighted preview to confirm every sensitive item is marked.
  5. Copy or download the redacted text, and optionally a CSV log of what was replaced.

What each pattern catches

TypeExamples that matchHow false positives are avoided
Email[email protected], [email protected]Needs a name, @, domain and a top-level domain of 2+ letters
Phone(555) 201-4477, 555.201.4477, +1 555 201 4477, +44 20 7946 09587 to 15 digits in a phone-like grouping
URLhttps://example.com/a?b=1, www.example.org, example.com/pageTrailing punctuation such as a full stop or bracket is left in place
Card number4111 1111 1111 1111, 5500-0000-0000-000413 to 19 digits that pass the Luhn checksum
SSN123-45-6789, 123 45 6789Never-issued ranges (000, 666, 900-999, 00, 0000) are skipped
IP address203.0.113.42, full IPv6 addressesEach IPv4 part must be 0-255
Date03/14/1988, 2024-05-01, March 14, 1988, 14 March 1988Month and day must be valid
Long numberAccount 99812345, policy 4417 2290At least 6 digits

Choosing a redaction style

  • █ blocks keep the original length and layout, which looks like a classic blacked-out document. The length can hint at what was removed, so use a fixed marker if that matters.
  • [REDACTED] hides both the value and its length. It is the usual choice for documents shared outside your organization.
  • Type labels and numbered labels keep the meaning of the text. "[EMAIL 1] forwarded the invoice to [EMAIL 2]" is still easy to follow, which helps when you share tickets, chat logs or data with colleagues or AI tools.
  • Keep last 4 follows the common practice for card and account numbers (█████ █████ ████ 1111) so people can still recognize which account is meant.

Tips for safe sharing

  • Add every person, company, street and project name to the custom terms box. Names are the information automatic patterns cannot see.
  • Check headers, signatures and quoted replies at the bottom of emails, where contact details tend to hide.
  • The redaction log contains the original values. Keep it private, or do not download it at all.
  • For PDF files, use Redact PDF, which removes the underlying text rather than drawing a box over it.

Frequently asked questions

What does it mean to redact text?

Redacting means removing or obscuring sensitive information before a document is shared, so the rest can be read safely. In plain text the information is replaced with black blocks, a marker such as [REDACTED] or a label like [EMAIL]. Unlike covering text with a black box in a PDF, replacing the characters in plain text removes them completely.

How are credit card numbers detected?

The tool looks for runs of 13 to 19 digits, optionally separated by spaces or dashes, and then checks them with the Luhn checksum that all major card numbers use. Numbers that fail the checksum, such as most order or tracking numbers, are not treated as cards. Turn on Other long numbers to mask those as well.

Which Social Security number formats are recognized?

Numbers written as three digits, two digits and four digits separated by dashes or spaces, such as 123-45-6789. Combinations that are never issued, like an area number of 000, 666 or 900-999, a group of 00 or a serial of 0000, are skipped. Nine digits written without separators are caught by the Other long numbers option.

What is the difference between labels and numbered labels?

Labels replace every item with its type, for example [EMAIL] or [PHONE]. Numbered labels give each distinct value its own number, so the same email always becomes [EMAIL 1] and a different one [EMAIL 2]. That keeps the text understandable, which is useful for support tickets, research data and logs sent to an AI assistant.

Can it find names automatically?

No. Recognizing every possible person name reliably needs a language model and still makes mistakes, so names are handled with the Custom terms box. Enter each name, company or address you want hidden; matching ignores case and spacing differences and can be limited to whole words.

Is my text uploaded anywhere?

No. Detection and redaction run in JavaScript inside your browser and the text never leaves your device. Your option choices are remembered locally, but the text itself is not stored.

Is automatic redaction enough for legal documents?

Treat it as a fast first pass. Pattern matching cannot catch information written in unusual ways, such as a phone number spelled out in words, so always read the result before sharing. For court filings and regulated data, follow your organization's redaction policy.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Redact PDFBlack out names, numbers and any text in a PDF for real: the hidden text is removed, not covered.Email ExtractorPull every unique email address out of text or files, sort, filter by domain and export CSV.URL ExtractorExtract every link from text or HTML, remove duplicates, filter by domain or protocol.Find and Replace TextFind and replace words or regex patterns in any text, with match highlighting and undo.Essay Length & Reading TimeWords to reading time, speaking time and handwritten or typed pages.Speech Length CalculatorPaste a speech to see how long it takes to say at any speaking speed.Text to SpeechTurn text into natural-sounding speech.AI Prompt GeneratorBuild better prompts for ChatGPT, Midjourney and more.Email Signature GeneratorBuild HTML email signatures for Gmail and Outlook.Flashcard MakerMake flashcard decks and study them with flip cards and spaced repetition, saved in your browser.Quiz MakerMake a multiple-choice quiz, take it with instant scoring and share it with a link.Title Capitalization ToolCapitalize titles and headlines in AP, APA, Chicago and MLA style side by side, with one-click copy.Headline AnalyzerScore your headline 0–100 on length, word balance, power words, sentiment and type, with tips.Speech to TextDictate with your voice and get editable text in 50+ languages, with voice punctuation.Cover Letter GeneratorFill in a short form and get a tailored, editable cover letter to copy, download or save as PDF.Rhyme FinderFind perfect and near rhymes for any word, grouped by syllables, for songs and poems.Acronym GeneratorTurn a phrase into an acronym, or turn letters into creative backronym ideas.Acrostic Poem GeneratorTurn any name or word into an acrostic poem by theme, edit the lines and save it as an image.Apology Letter GeneratorWrite a sincere apology letter, email and text for a customer, friend, boss or teacher.Authorization Letter GeneratorCreate an authorization letter to let someone collect documents, act for you or pick up a child.Book Title GeneratorGenerate book title ideas for fantasy, romance, mystery, sci-fi or nonfiction books.Random Character GeneratorGenerate story characters with name, looks, traits, flaw, motivation and backstory hook; lock any field.Compliment GeneratorGet kind, funny or professional compliments for friends, coworkers, partners or family, with their name.Domain Name GeneratorTurn keywords into brandable domain name ideas with prefixes, suffixes, blends and scores.Email Subject Line GeneratorGet 20 email subject lines for newsletters, sales or cold emails, with length and spam-word checks.Essay Outline GeneratorBuild a structured essay outline with hook, topic sentences, evidence and conclusion, plus word budgets.Excuse GeneratorFunny excuses for being late, missing homework or skipping chores, from believable to absurd.Hashtag and Mention ExtractorPull every #hashtag and @mention from text with counts, dedupe and frequency sorting.Haiku GeneratorGenerate 5-7-5 haiku by theme, or check your own haiku's syllables line by line.Hashtag GeneratorGenerate 30 relevant hashtags from keywords, mix broad and niche tags, select and copy.Job Description GeneratorBuild a structured job posting in Markdown, HTML or plain text with role-based bullet ideas.Leave Application GeneratorWrite a leave letter or email for office or school, with leave days counted for you.Letter of Intent GeneratorCreate a formatted letter of intent for a job, graduate school, business deal or lease.LinkedIn Headline Generator15 headline formulas from your role, skills and value, with a 220-character counter.Love Letter GeneratorWrite a heartfelt, sweet, romantic or funny love letter from your names, memories and details.Nickname GeneratorGet cute, cool, funny or gaming nicknames for any name, with classic short forms.Poem GeneratorCreate rhyming poems, free verse, limericks and love poems by topic and length; copy or download.Product Description GeneratorTurn product features into e-commerce descriptions, bullet lists and an SEO meta description.Interview Thank You Email GeneratorWrite short, medium and formal thank-you emails after a job interview, with subject lines.Job Application Email GeneratorWrite a job application email body and subject line with your highlights and attachments.Job Offer Letter GeneratorWrite a formal employment offer letter with salary, benefits and contingencies, as Word or PDF.Press Release GeneratorWrite an AP-style press release with headline, dateline, quotes, boilerplate and ### ending.Wedding Hashtag GeneratorTurn your names, date and city into dozens of creative, punny wedding hashtags to shortlist.Wedding Vow GeneratorTurn your names, memories and promises into romantic, funny or traditional vow drafts to edit.About Us Page GeneratorTurn your business story, mission, values and team into About Us page copy, as text or HTML.APA Title Page GeneratorMake an APA 7 student or professional title page with live preview; download DOCX or PDF.Appeal Letter GeneratorWrite an insurance, academic, parking ticket or account suspension appeal letter with deadline.Best Man Speech GeneratorBuild a best man speech from your story and the couple's names, timed to your target length.Blog Post Outline GeneratorBuild an H2/H3 blog outline for how-tos, listicles, reviews and more, with word budgets.Blog Title GeneratorTurn a keyword into 50+ blog headlines with proven formulas and a length check.Cancellation Letter GeneratorWrite a letter or email to cancel a subscription, gym, insurance or service, with refund math.Cease and Desist Letter GeneratorWrite a cease and desist letter for harassment, copyright, trademark or debt collectors.Credit Dispute Letter GeneratorWrite an FCRA dispute letter to Equifax, Experian or TransUnion to fix credit report errors.Demand Letter GeneratorWrite a formal demand for payment with amount owed, interest, deadline and small claims step.Essay Hook GeneratorOpening hook sentences for your essay: question, statistic, anecdote, quote, bold statement.Essay Title GeneratorTurn your topic and essay type into catchy question, colon and quote-style titles, title-cased.Eulogy GeneratorWrite a heartfelt eulogy from guided prompts: life story, traits, memories and farewell.Big Text DisplayShow any message in giant auto-fitting fullscreen text with colour themes and flash mode.Job Offer Acceptance Letter GeneratorAccept a job offer in writing: confirm title, start date and salary in a polished letter or email.Letter of Explanation GeneratorWrite a mortgage letter of explanation for credit inquiries, job gaps, deposits or late payments.Letter of Interest GeneratorWrite a letter of interest to a company that isn't advertising the job you want.Letter to Santa GeneratorHelp kids write a festive, printable letter to Santa with their good deeds and wish list.Motivation Letter GeneratorWrite a structured motivation letter for a university, scholarship, exchange, volunteer role or job.Parts of Speech IdentifierColor-code nouns, verbs, adjectives, adverbs and more in any English text, with counts.Real Estate Listing Description GeneratorWrite MLS-style property descriptions with versions trimmed to your character limit.Candidate Rejection Letter GeneratorWrite a kind, professional rejection email for job applicants at any stage of hiring.Report Card Comments GeneratorBuild positive, constructive report card comments from a student’s name, subject and level.Resume Bullet Point GeneratorTurn a task and a number into polished resume bullets with the XYZ formula.
See all 103 Writing & Idea Generators →