String Obfuscator
NEWMask text for display: keep the first and last characters and hide the rest with a mask character. Includes an email mode that gives j*****@example.com.
Runs 100% in your browser — your input is never uploaded or stored on our servers.
Masking is for display only, for example in screenshots, logs or support tickets. It is not encryption: the masked text cannot be restored from this page, but anyone who knows the length and the visible characters can guess the rest, so never use it to protect secrets you still store.
Quick Examples
Typical inputs and the results this tool produces.
Overview
Sometimes text has to be shown without being fully revealed: a reference number in a screenshot, a name in a support ticket or an address in a log. This string obfuscator replaces the middle of a string with a mask character and leaves the first and last characters visible.
Choose how many characters stay at each end, pick any mask character, keep spaces visible and mask each line on its own. A separate email mode keeps the domain, so [email protected] becomes j*********@example.com.
Masking is for display, not encryption. It cannot protect data you still store or send. Everything is done in your browser.
Why use this tool?
- Hide sensitive parts before sharing a screenshot or log
- Control exactly how many characters stay visible
- Mask many lines or email addresses at once
- Use any mask character you like
- Nothing is uploaded or stored
Features
Keep first and last
Choose how many characters stay visible at the start and the end.
Custom mask
Use *, •, X or any character you prefer.
Keep spaces
Leave spaces visible so word shapes stay readable.
Per-line mode
Mask every line separately or the whole text as one string.
Email mode
Mask the part before the @, and optionally the domain name too.
Accent safe
Accented letters and emoji count as one character each.
How to Use
Choose what to mask
Pick "Any text" or "Email addresses".
Enter your text
Paste the text, or one email address per line.
Set the options
Pick how many characters to keep at each end and the mask character.
Copy the result
Press Copy to take the masked text.