Skip to content

Browser Extension that encodes and decodes media to and from Base 64

Notifications You must be signed in to change notification settings

dandeto/Base-64-Extension

Repository files navigation

Base64 Encoder/Decoder Extension

Description

This is a browser extension that encodes and decodes media to and from Base64. It was created to help developers who want to use Base64 data strings instead of image or audio files. It is much faster and more convinient to use this extension rather than uploading your local files to a server for processing.

Please note:

  1. This project is limited to converting media supported by the Base64 standard
  2. Large files will take several seconds to process
  3. This extension stores data in the following way:
    • It saves the last entered base64 string so the user does not need to re-enter it when the extension opens back up
    • The string is stored on the user's computer using the chrome.storage API

Features

  • Select a file from your computer and encode it to a Base 64 string
  • Previews supported files
  • Convert a Base 64 string to the correct file type
    • Download the file in any format

Supported File Types

This extension supports converting the following file types (several examples listed):

  • Images

    • png
    • jpeg
    • gif
    • bmp
    • tiff (can't be displayed)
    • ico
    • svg
  • Audio

    • mpeg (mp3)
    • ogg
    • wav
  • Text

    • txt
    • html
    • css
    • js
    • py
    • cpp
    • etc.

Download

This extension is updated and availible on the Chrome Store. Alternatively you can download the latest source code release.

Availible on Firefox Add-ons. I suggest you use Chrome instead for now because Firefox has a bug that prematurely closes the popup window bugzilla.

Installation

If you downloaded the source and want to run it as an extension, you need to do the following:

1. Extract it from the .zip archive
2. Open Chrome
3. Go to chrome://extensions
4. Check the box "Developer mode"
5. Drag and drop the folder
6. You will see it in the top right corner of your brower window

Found a Bug? Is there a file type I missed?

Please report it in the issues section and give it a relevant tag.

About

Browser Extension that encodes and decodes media to and from Base 64

Resources

Stars

Watchers

Forks

Packages

No packages published