This project is a simple Python script designed to decode Base64 encoded text and display the decoded content. It also features batch decoding of Base64 strings from a file. 📄
- Decode Base64 code entered by the user.
- Simple console loging system.
- Batch decode Base64 strings from a specified file.
- Ignore comment lines (
//) during the decoding process. - Simple and user-friendly interface. 😊
When the program runs, an input.txt file is automatically created with some sample Base64 strings. You can add your own Base64 strings to this file for batch decoding.
When the program runs, it will prompt the user to enter either a Base64 code or a filename.
- If the user enters a Base64 code, the code is decoded and the result is displayed on the screen.
- If the user enters a filename, all Base64 strings in the file are decoded and displayed.
- If nothing is entered, the program defaults to using the
input.txtfile.
- Enter a Base64 code: Directly decode a Base64 string.
- Enter a filename: Decode all Base64 strings in the specified file.
- exit/close/stop: Terminates the program.
> python Main.py
Base64 Decoder - Github : semihkagan
Enter Base64 Code or,
Enter the name of the input file or path:
> aGVsbG8gd29ybGQ=
---------------------------------------
Decoded string [0]: hello world
Decoding Successfully! , total decompiled texts(1).
Please press enter to continue...
> python Main.py
Base64 Decoder - Github : semihkagan
Enter Base64 Code or,
Enter the name of the input file or path:
> input.txt
---------------------------------------
Decoded string [0]: hello world
Decoding Successfully! , total decompiled texts(1).
Please press enter to continue...
To run this script, you'll need the following library installed:
colorama: Used for colored text in the terminal.
You can install it with the following command:
pip install coloramaThis project is licensed under the MIT License.
Developed with ❤️ by Semih Kagan.


