This is a simple Windows Forms application that allows you to convert text to binary and binary to text. It provides a user-friendly interface for inputting text or binary strings and viewing the conversion results. You can also copy the output to the clipboard for easy sharing.
- Text to Binary Conversion: Converts any text input into its binary representation.
- Binary to Text Conversion: Converts binary input back into readable text.
- Clipboard Support: Option to copy the output directly to the clipboard.
- Toggle Mode: Switch between converting text to binary and binary to text.
- Input Validation: Ensures only valid binary characters are accepted in binary to text conversion.
To run the application locally on your machine, follow these steps:
-
Clone the repository: git clone https://github.com/defacesh/Text-Binary-Converter.git
-
Open the project: Open the project in Visual Studio or any C# IDE that supports Windows Forms applications.
-
Build and run: Build the solution and run the application. The form will appear with options to input text or binary and convert accordingly.
-
Input Box:
-
Enter text to convert to binary or binary code to convert back to text.
-
Conversion Toggle Button:
-
Switch between converting text to binary and binary to text.
-
Copy Output Checkbox:
-
Check to copy the conversion result to the clipboard automatically.
Contributions are welcome! Here's how you can contribute to this project:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch). - Make your changes.
- Commit your changes (
git commit -am 'Add new feature'). - Push to the branch (
git push origin feature-branch). - Create a new Pull Request.
Please make sure to update tests as appropriate.
This project is licensed under the MIT License - see the LICENSE file for details.
- This project was inspired by the need to convert text and binary easily.
- Hat tip to anyone whose code was used.