Basecrack – Best Decoder Tool For Base Encoding Schemes


BaseCrack is a tool written in Python that can decode all alphanumeric base encoding schemes. This tool can accept single user input, multiple inputs from a file, input from argument, multi-encoded bases and decode them incredibly fast.
Decode Base16, Base32, Base36, Base58, Base62, Base64, Base64Url, Base85, Base91, Base92 and more with the best base encoding scheme decoding tool in town. It’s useful for CTFs, Bug Bounty Hunting, and Cryptography.
What’s new in v1.1: I heard your feature requests, now you can generate a wordlist/output with the decoded bases! 🙂

What’s new in v2.0:
Now BaseCrack supports both Python2 and Python3

Magic Mode
Now you can decode multi-encoded bases of any pattern in a single shot.
Have you ever stumbled upon that one lame CTF challenge that gives you an encoded string which is just encoded over and over with Base64, Base91, Base85 and so on? Just give that to BaseCrack and you’re done with it! 😉

Want to test it out? Just give it this input:

IX([email protected]<,*TFE]IT^zdINAb9EVbp,e<u=O6nN)/u+MTnU;Fo#VvQ&cK;mLZI#Jbdook<O{W#+gY%ooe#6pTkTa.9YPU8Uc=pl9BhSM9%kISw2k:8..u/6F2BwNndPZ2o#7NHNP3g,HlZu><*[Nv+T8

and see for yourself! 🙂
API: BaseCrack can now be used as a library! Just import the BaseCrack() class and call the decode() function. See example below.

Supported Encoding Schemes

  • Base16
  • Base32
  • Base36
  • Base58
  • Base62
  • Base64
  • Base64Url
  • Base85
  • Base91
  • Base92

Main Features

  • Can decode multi-encoded bases of any pattern.
  • Can decode multiple base encodings from a file.
  • Generate a wordlist/output with the decoded bases.
  • Predicts the type of encoding scheme.



$ git clone
$ cd basecrack
$ pip install -r requirements.txt
$ python -h

To decode a single base encoding from user input:


To decode a single base encoding from argument (-b/–base):

python -b SGVsbG8gV29ybGQh

To decode multiple base encodings from a file (-f/–file):

python -f file.txt

Magic Mode: To decode multi-encoded base of any pattern (-m/–magic):

python --magic

To generate a wordlist/output with the decoded bases (-o/–output):

python -f file.txt -o output-wordlist.txt

Want to use BaseCrack as a library? We got you covered!
Just put basecrack in your project’s folder and you’re ready to go!

# import the BaseCrack class from
from basecrack import BaseCrack
# calling the api function decode() with the encoded base
result = BaseCrack().decode('c3BhZ2hldHRp')
# printing the output
result is tuple where:
result[0] = DECODED STRING
print('Decoded String: {}'.format(result[0]))
print('Encoding Scheme: {}'.format(result[1]))


Decoded String: spaghetti
Encoding Scheme: Base64

Time to integrate this into your automation tools! 😉


You may also like...