We have some fun in Networked Narratives with coded messages using rot13. Just look at the Daily Digital Alchemy 243:

An encoded challenge today, what the ***** is “Pna lbh pbairefr va EBG13? Ner lbh pyhrq va?” That’s much more than an Alan typo…

It’s just a simple cipher that works by changing each letter in a word to the one that is 13 letters after (wrapping around after Z). It’s nifty, because being half of the number of letters in the English alphabet, decoding can use the same formula (just add another 13 to get back to where you started).

This was an early thing that happened when Mia Zamora and started planning NetNarr in 2016. We were excited that as a twitter hashtag, no one was using . But then I shared rot13 where we found that became #arganee… that sounded like a mystery world (hence the domain arganee.world (I wonder if anyone ever ventures there, it’s weird).

I always did the encoding/decoding with a lot of roundtrip copy paste at the rot13.com site. As I saw two of our students going back and forth, I wondered if there was a Simpler Way.

And boom- I found a seven year old bit of Javascript usable in a browser bookmarklet. I then tried it out. It worked great it tweetdeck- I could select any text, clicked the bookmarklet, and it would apply the rot13 transformation.

Because of that magic of the same function coding text that decodes it, you can use it to convert any “normal” text to rot13 or any converted text back to “normal”. And if you use it without any selection, you get a dialog box to encode any message:

Use the bookmarklet to encode any phrase
Now I am encoded!

How can you do this? Well browser bookmarklet tools no longer work in Firefox, so do this in Chrome or Safari. Just click and hold this link, then draaaaaag it to your bookmarks bar in your browser.

Or copy the script text:

Go to your browser’s Bookmarks Manager, create a new bookmark in the place that puts them on your bookmarks bar, add a new bookmark, and past that chunk in for a URL (you might have to poke around for instructions, here is one set that might help).

It sort of works on a mobile device, I used this set of instructions to add it to my iPhone Safari app.

I can take a web view, select the first paragraph:

This is the before screenshot of a web page. I selected the text of the first paragraph, opened and clicked the Safari bookmark tool…
And look! I rot13-d it.

It was not good at tweets, since in the twitter app, you cannot select partial text in a tweet.

Nalubj, V whfg jnagrq gb funer fbzr qvtvgny nypurzvpny gevpxf gung zvtug vzcerff lbhe sevraqf naq jbeel lbhe sbrf.

Got it?


Featured Image: Magic Spell combined with Eight Trigram – Section 6.1 Round shape – John Ferguson 01.jpg Wikimedia Commons image by John Ferguson shared under a Creative Commons CC BY-SA license (which means I do too). Inverted colors of image and bumped contrast for better design with blog header.

If this kind of stuff has value, please support me by tossing a one time PayPal kibble or monthly on Patreon
Become a patron at Patreon!
Profile Picture for CogDog The Blog
An early 90s builder of web stuff and blogging Alan Levine barks at CogDogBlog.com on web storytelling (#ds106 #4life), photography, bending WordPress, and serendipity in the infinite internet river. He thinks it's weird to write about himself in the third person. And he is 100% into the Fediverse (or tells himself so) Tooting as @cogdog@cosocial.ca

Leave a Reply

Your email address will not be published. Required fields are marked *