Skip to content
Test versionSearch

Developer tools

ROT47 visible ASCII transformation

Apply ROT47 to visible ASCII characters with codes 33 to 126, shifting them by 47 modulo 94; spaces stay and a second pass restores the text.

How it worksFAQRelated tools

Content reviewed:

The example values can be changed. Press Calculate to update the result; you can download it as TXT or CSV and collect scenarios in this tab. Nothing is saved or sent automatically.

ASCII codes 33–126 shift 47 modulo 94. Apply twice to restore; spaces/Unicode outside ASCII unchanged. Educational/puzzle transformations, no protection for confidential data. Input 400 UTF16 units (Caesar all mode 200), result 500 characters each; no controls or unpaired surrogates. No Unicode transliteration. Press Calculate to update the result; you can download it as TXT or CSV. JSON and HTML downloads include your inputs and the numbers as calculated. Live calculation is off unless you switch it on. Nothing is saved or sent automatically.

Decimal results are approximate. Inputs stay in this browser tab.

How it works

Own declared arithmetic text shifts, substitutions and code-point permutations; educational only. Own structured JSON/result-row TXT/printable HTML files retain original inputs, options and result values. ASCII codes 33–126 shift 47 modulo 94. Apply twice to restore; spaces/Unicode outside ASCII unchanged. Educational/puzzle transformations, no protection for confidential data. Input 400 UTF16 units (Caesar all mode 200), result 500 characters each; no controls or unpaired surrogates. No Unicode transliteration. Press Calculate to update the result; you can download it as TXT or CSV. JSON and HTML downloads include your inputs and the numbers as calculated. Live calculation is off unless you switch it on. Nothing is saved or sent automatically.

Worked example

With these example values the calculator gives the result below. You can change any value in the form above.

Inputs

Text or encoded input
Hello 123! Γ€ΓŸπŸš€
Numeric count display: 0–12 places
6

Result

Result text
w6==@ `abP Γ€ΓŸπŸš€
Result code points
14

Frequently asked questions

How does ROT47 work?

ROT47 shifts every visible ASCII character with codes 33 to 126 by 47 positions modulo 94. Spaces and Unicode characters outside ASCII stay unchanged.

How do I decode a ROT47 text?

Apply ROT47 a second time. Because the shift is 47 within a range of 94 characters, applying the transformation twice restores the original text.

What does ROT47 do to letters with accents or emoji?

They are left as they are. In the example Hello 123! Γ€ΓŸπŸš€, the ASCII part Hello becomes w6==@ while Γ€, ß and the emoji are unchanged, and there is no Unicode transliteration.

Is ROT47 safe for hiding passwords or confidential data?

No. The ROT47 transformation is meant for education and puzzles and gives no protection for confidential data.

How long can a ROT47 input be?

The input may have up to 400 UTF-16 units and the result up to 500 characters. Control characters and unpaired surrogates are not accepted.

Can I download the ROT47 result?

Yes. JSON and printable HTML files contain the input, options and original result, and a TXT file contains the result rows.