Text Masking Tool

Mask parts of personal data such as emails, phone numbers, and names with *.

Category: Text Tools

When to use?

Use it to hide sensitive data before sharing logs or documents with colleagues or taking a screenshot. Also handy for handling real PII in development test data.

How to use

  • Enter the text to mask.
  • Choose the type to mask (email, phone, name).
  • Copy the masked result.

Input Explanation

Enter the text to mask and choose the masking rules to apply (email, phone, name, etc.).

Calculation Basis

It finds patterns by type-specific regex and replaces the middle part with * while keeping some edge characters. Emails mask the middle before @; phone numbers mask the middle digits.

Usage Examples

  • Process before sharing logs - Mask emails and phone numbers in a log file to share safely.
  • Prepare screenshots - Hide sensitive info before capturing a screen with PII.
  • Clean test data - Hide real PII mixed into development test data.

Examples

  • test@example.com → te**@example.com
  • 010-1234-5678 → 010-****-5678
  • A 3-character name → first and last kept, middle masked

Cautions

  • This is pattern-based masking, so check non-standard PII manually.
  • Very short names leave fewer hidden characters, so identification may remain — verify the result.

FAQ

Can I adjust the masking range?

It applies default rules to emails, phone numbers, and names. Verify the result and adjust manually as needed.

Can I mask multiple types at once?

Yes, you can mask emails and phone numbers at the same time.

Can masked data be reversed?

No. Masking is one-way (replacing characters with *) and cannot be restored.

Is it perfect privacy protection?

It is pattern-based, so differently formatted data may be missed. Verify the result before sharing.

Related Tools

  • Text Extractor - Automatically find and extract emails, URLs, phone numbers, and numbers from text.
  • Forbidden Word Checker - Find and highlight forbidden words in text based on a user-provided list.
  • Regex Replace Tester - Apply a regex pattern and replacement value to see the result.
  • Character Counter - Count characters with and without spaces, and line count, in real time.
  • Byte Counter - Calculate the byte length of text when stored as UTF-8.
  • Case Converter - Convert text, variable names, and filenames to UPPER, camelCase, snake_case, kebab-case, and more.