Skip to main content

str_rot13 - online function

str_rot13 (string $str): string

Perform the rot13 transform on a string, so you can encode and decode string with same function. Rot13 (rotate by 13 places) replaces a letter with the 13th letter after it, in the alphabet.  Because there are 26 letters in the basic Latin alphabet, second encoding will return your initial letter. Because of its simplicity, this function should not be used in cases where the security of encrypted data is required.

This tool it's a javascript function so result is generated by your browser and it's not sent across internet .

We use cookies on our website to enhance your user experience. We also use Google analytics and ads.

Click here to read more I've read it