Skip to tool

Python codecs.encode(…, "rot_13") Online

Apply ROT13 transform.

The output updates as you type. The tool processes input in your browser.

Worked example

ROT13 rotates ASCII letters by thirteen positions. Running it twice restores the original text.

Sample input
uryyb jbeyq
Sample output
hello world

Using this operation in Python

The interactive result uses JavaScript. Python str stores Unicode text. Encode to bytes when an API expects UTF-8 or another byte representation.

Python reference