Mask parts of a string with configurable keep-chars and email handling
Treated as a generic string.
Obfuscated
Output will appear here…
About
Generic mode
Keeps the first N and last M characters visible and replaces everything between with the chosen mask character. Example: secret123 → se*****23.
Email mode
When the input contains a single @ and email mode is on, the local part keeps its first character (rest masked) and the full domain is preserved. Example: user@example.com → u***@example.com.