encoding_decoding_rot13
Apply ROT13 or ROT47 substitution cipher to text for reversible obfuscation in puzzles, CTFs, or spoilers. Supports custom rotation from 1-94 to encode or decode printable ASCII.
Instructions
ROT13 and ROT47 Cipher (Encode / Decode). Apply a ROT (rotate) substitution cipher to the supplied text and return the transformed string. The rotation amount picks the variant: rotation 13 is classic ROT13 (rotates only A-Z and a-z letters, leaving digits and symbols untouched), rotation 47 is ROT47 (rotates the 94 printable ASCII characters 33-126, sparing the space), and any other 1-94 value shifts the full printable range ASCII 32-126 forward for encode or backward for decode. ROT13 and ROT47 are their own inverse, so encode and decode give the same result. This is a reversible obfuscation with no cryptographic strength; use it for puzzles, CTFs, and hiding spoilers, not to protect secrets. Use encoding_decoding_caesar for a letters-only shift constrained to 1-25, or encoding_decoding_atbash for a fixed alphabet reversal. Runs locally on the input you provide: read-only, non-destructive, contacts no external service, and is rate-limited (60 requests/minute for anonymous callers). Returns the transformed t
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to transform. Printable ASCII is rotated per the rotation rule; characters outside the active range pass through unchanged. | |
| operation | Yes | Direction for custom rotations: encode shifts forward, decode shifts backward by the same amount. Ignored for rotation 13 and 47, which are self-inverse. | |
| rotation | Yes | Number of positions to rotate. 13 selects ROT13 (A-Z and a-z only), 47 selects ROT47 (ASCII 33-126), any other 1-94 rotates the full printable range ASCII 32-126. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | No | Whether the transform succeeded. | |
| input | No | The input text, echoed back. | |
| operation | No | The operation performed (encode or decode). | |
| rotation | No | The rotation value applied (1-94). | |
| result | No | The transformed (rotated) text. | |
| info | No | Details of the rotation that was applied. | |
| analysis | No | Character-class breakdown of the input text. |