String Obfuscator

Mask secrets and PII, or transform text with ROT13, leetspeak, and Unicode homoglyphs. Runs entirely in your browser — no server, no sign-up.

Result

What this tool does

Mask or obfuscate a string right in your browser. Hide the middle of an API key, token, email, or any other sensitive value before a screenshot — or transform text with ROT13, leetspeak, or Unicode homoglyphs. Nothing is sent to a server: it runs locally, works offline, and needs no sign-up.

Modes

ModeWhat it does
mask (default)Keeps the first N and last M characters visible and replaces the rest with a mask character. The classic way to redact a secret in a screenshot.
rotCaesar / ROT-N rotation of the letters. The default shift is 13 (ROT13), which is its own inverse — apply it twice to get back the original.
leetspeakSwaps letters for look-alike digits and symbols: a→4, e→3, i→1, o→0, s→5, t→7, b→8, g→9.
homoglyphSwaps ASCII letters for identical-looking Unicode characters (mostly Cyrillic), so the text looks the same but is a different string. Useful for demoing homograph spoofing or defeating naive copy-paste.

Masking options

Examples

InputMode · SettingsOutput
sk-1234567890abcdefmask · keep 5 / 4sk-12**********cdef
passwordmask · keep 1 / 1 · char p••••••d
Hello, World!rot · 13Uryyb, Jbeyq!
elite hackerleetspeak31173 h4ck3r
paypalhomoglyphlooks like paypal, different bytes

FAQ

Is it free and private?

Yes — your input never leaves your device, and it keeps working offline once the page has loaded.

Is masking reversible?

No. mask permanently removes the hidden characters, which is exactly what you want for redaction. rot is reversible (ROT13 twice returns the original); leetspeak and homoglyph are not cleanly reversible.

What is a homoglyph?

A character that looks identical to another but has a different Unicode codepoint — e.g. the Latin a (U+0061) versus the Cyrillic а (U+0430). They render the same but are different bytes.

Can I use ROT13 to secure data?

No — ROT13 is a toy cipher with no key. It hides text from a casual glance only; never use it for real secrets.

Developer & Automation Access

Run it from the terminal

Same engine as this page, headless — via the gizza CLI:

gizza tool string-obfuscator "sk-1234567890abcdef"

New to the CLI? Get gizza →

Open it by URL

Pre-fill and auto-run this tool with query parameters — the names match the API/CLI:

https://gizza.ai/tools/string-obfuscator/?text=sk-1234567890abcdef&mode=mask&mask_char=%2A&keep_start=0&keep_end=0&rot_n=13

Machine-readable descriptor: tool.json — title + parameters JSON Schema for agents.