Skip to tool

JavaScript ROT13 Online

Apply ROT13 substitution.

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 JavaScript

The interactive result uses JavaScript. JavaScript string indexes count UTF-16 code units. Use code-point iteration when working with supplementary Unicode characters.

JavaScript reference