Skip to content

A simple yet powerful Python program that encodes text into binary and decodes binary back to text using 8-bit ASCII encoding. Supports alphabets, digits, punctuation, and special characters.

License

Notifications You must be signed in to change notification settings

silven-mohan/Binary_Encoder_Decoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Binary_Encoder_Decoder

🔢 Binary Encoder/Decoder

A simple yet powerful Python program that encodes text into binary and decodes binary back to text using 8-bit ASCII encoding. Supports alphabets, digits, punctuation, and special characters.


🚀 Features

  • ✅ Encode any text (letters, digits, symbols) into binary
  • ✅ Decode valid binary strings into readable text
  • ✅ Handles spaces and unknown characters gracefully
  • ✅ Built with beginner-friendly Python — easy to understand and extend

🧠 How It Works

The program uses a custom dictionary (binary_dict) that maps characters to their 8-bit ASCII binary representation. For decoding, it uses the reversed dictionary (reverse_binary_dict) to translate binary back to text.


Author: Silven Mohan


🖥️ Usage

Run the program in any Python environment (Python 3.x):

python binary_encoder_decoder.py

📃License

See included LICENSE file for more details.

About

A simple yet powerful Python program that encodes text into binary and decodes binary back to text using 8-bit ASCII encoding. Supports alphabets, digits, punctuation, and special characters.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages