Turn Your Instagram Photos Into ASCII Art

Posted on by

Did you know that Facebook and Instagram both have a “secret” feature that converts your photos into ASCII art? By doing a slight tweak to the URLs of photos, you can view them as color and black and white versions that are made up of letters.

While the feature has reportedly been around for a while now, it started getting widespread attention this week after being shared by developer Mathias Bynens:


The side-by-side image above shows the example Bynens Tweeted. As he says, the trick itself is extremely simple. If this is your ordinary URL from Instagram or Facebook…

https://scontent-ams3-1.cdninstagram.com/t51.2885-15/e35/11906246_1700002456899911_1391970345_n.jpg

…simply tack on .txt to see the black and white ASCII version:

https://scontent-ams3-1.cdninstagram.com/t51.2885-15/e35/11906246_1700002456899911_1391970345_n.jpg.txt

…or tack on .html to see the color ASCII conversion:

https://scontent-ams3-1.cdninstagram.com/t51.2885-15/e35/11906246_1700002456899911_1391970345_n.jpg.html

The process is identical for Facebook photos (after all, Facebook owns Instagram). Here’s a before-and-after of the conversation done on Mark Zuckerberg’s profile picture:

mark1mark2

Doing the conversion is the easy part. Obtaining the original image URL is more tricky. For Instagram, you can view the source code (or inspect) in your browser and look for it there. And on Facebook, right clicking images didn’t provide the correct URL format in our tests.

But if you’re able to figure out the URL side of things, this is a fun little feature you can play around with.

 

H/T: petapixel

 

 

15
2

Like this post? Share it with your friends!