JavaScript Base64 Encode and Decode: Encode and decode data in base64 format in pure JS

Recommend this page to a friend!
  Info   View files Example   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 83 All time: 452 This week: 4Up
Version License JavaScript version Categories
base64 1.0.2GNU General Publi...5Text processing
Description Author

This object can encode and decode data in base64 format in pure JS.

It can take a data string and encode it using the base64 algorithm.

The object can also do the opposite, i.e. decode base64 encoded data and return the original data string.

Picture of Haseeb Ahmad Basil
  Performance   Level  
Name: Haseeb Ahmad Basil <contact>
Classes: 2 packages by
Country: Pakistan Pakistan
Age: 24
All time rank: 1492 in Pakistan Pakistan
Week rank: 6 Up1 in Pakistan Pakistan Up

  Files folder image Files  
File Role Description
Plain text file base64.js Class Class source
Plain text file base64.min.js Class Class source
Accessible without login Plain text file example.html Example EXAMPLE
Accessible without login Plain text file package.json Data Auxiliary data
Accessible without login Plain text file readme.md Doc. Documentation
Accessible without login Plain text file test.js Aux. Auxiliary script

 Version Control Unique User Downloads Download Rankings  
 100%
Total:83
This week:0
All time:452
This week:4Up