• Skip to primary navigation
  • Skip to main content

Chrome Story

Chromebook News, Tips, and Tricks

  • Chromebook
  • Chrome
  • Chromecast
  • Assistant
  • Videos
Home / Google Chrome / How to Decode Base64 Strings With Google Chrome

How to Decode Base64 Strings With Google Chrome

September 27, 2012 by Dinsan Francis Updated on: 3:52 pm 3 Comments

Decode Base64 strings with Chrome?

Surprised? But yes, this is totally possible. Not just “possible” it is extremely easily possible! Copy-paste the Base64 encoded string to your Omnibox (address bar) along with a small piece of code, voila! you have it decoded in front of you.

Before we start, for those who are wondering what  Base64 encoding is, here is a small intro from Wikipedia

Base64 is a group of similar encoding schemes that represent binary data in an ASCII string format by translating it into a radix-64 representation. The Base64 term originates from a specific MIME content transfer encoding.

Base64 encoding schemes are commonly used when there is a need to encode binary data that need to be stored and transferred over media that are designed to deal with textual data. This is to ensure that the data remain intact without modification during transport. Base64 is commonly used in a number of applications including email via MIME, and storing complex data in XML.

How To Decode Base64 Strings With Google Chrome

chrome_base_64_encode

Open a new tab
Paste data:text/plain;base64, and append your base64 string

Here is an example     data:text/plain;base64,SGV5IGd1eXMhIEhvcGUgeW91J3JlIGRvaW5nIHdlbGwu

This works on Safari and Firefox as well.

Thanks François Beaufort for this brilliant tip.

  • Facebook
  • Reddit
  • Twitter
  • WhatsApp
  • Pocket
  • Telegram

Related

Filed Under: Google Chrome

About Dinsan Francis

Content Developer and Digital Minimalist. Loves testing new Chromebook features and writing about them. Favorite Chrome OS Channel is Canary. | Twitter

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

Updates via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 4,036 other subscribers

Reader Interactions

Comments

  1. Dan says

    September 27, 2012 at 7:03 pm

    There’s also the atob function. Open console and type:

    atob(“SGV5IGd1eXMhIEhvcGUgeW91J3JlIGRvaW5nIHdlbGwu”)

    to get:

    Hey guys! Hope you’re doing well.

    There is also a btoa function, of course.

    Encoding data uris in base64 is common when you are embedding a binary file format such as an image. If you inspect internal chrome pages such as the Settings page you will find them all over.

    Reply
    • Dinu says

      September 27, 2012 at 7:30 pm

      thanks Dan!
      Do you think you can come up with a list of Chrome features or extensions for developers ? (I assume you are one, reading your comments) ..

      Reply
  2. GAP says

    September 27, 2012 at 10:34 pm

    one thing for sure: you don’t have a dev background and don’t know wtf is base64 etc.

    This thing is pretty old, and almost all browsers can do that. pretty poor guy.

    Reply

Leave a Reply Cancel reply

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

WordPress | Copyright © 2022 Chrome Story | Chrome is a registered trademark of Google Inc.

  • About
  • Privacy
  • YouTube