---
id: 2472
title: Base64 Encoding/Decoding in JavaScript... wrapped in jQuery
slug: base64-encodingdecoding-in-javascript-wrapped-in-jquery-3
date: '2012-05-06T08:08:08Z'
modified: '2012-05-06T08:08:08Z'
status: publish
type: post
author: pmoelgaard
categories:
  - Uncategorized
tags:
  - JavaScript
  - jQuery
  - Open Source
excerpt: null
canonicalPath: /posts/base64-encodingdecoding-in-javascript-wrapped-in-jquery-3
featuredImage: null
commentCount: 1
wordCount: 66
readingTimeMinutes: 1
hasMedia: false
hasVideos: false
url: >-
  https://forwardthinking.pemo.me/posts/base64-encodingdecoding-in-javascript-wrapped-in-jquery-3
---
Integrating a Google Gadget with Solve360's API, I needed to have a way to Base64 encode some strings before appending them as headers to my server calls... instead of rolling my own, I went to look for my old friend: [Nick Galbreath's base64 string encoder](http://stringencoders.googlecode.com/svn-history/r210/trunk/javascript/base64.js)...

In the search results I stumbled upon a 2 year old jQuery'fication of it by [Carlo Zottmann](http://github.com/carlo)...

Check it out...  
[https://github.com/carlo/jquery-base64](https://github.com/carlo/jquery-base64)
