This project is a web application that allows users to convert decimal numbers to binary and binary numbers to decimal. The application is built using Spring Boot for the backend and HTML, CSS, and JavaScript for the frontend.
- Decimal to Binary Conversion: Enter a decimal number and get its binary equivalent.
- Binary to Decimal Conversion: Enter a binary number and get its decimal equivalent.
- User-Friendly Interface: Clean and simple design for easy use.
- Backend: Spring Boot
- Frontend: HTML, CSS, JavaScript
-
Decimal to Binary:
- Input a decimal number.
- Click the "Convert" button to get the binary representation.
-
Binary to Decimal:
- Input a binary number.
- Click the "Convert" button to get the decimal representation.
-
src/main/java/com/example/conversion: Contains the Java files for the Spring Boot application.
-
src/main/resources/static: Contains the static files for the frontend.
index.html: Main HTML file for the user interface.style.css: CSS file for styling the web page.
To run the application, follow these steps:
-
Clone the repository:
git clone <repository_url>
-
Navigate to the project directory:
cd <project_directory>
-
Build and run the application:
./mvnw spring-boot:run
-You can run this application manually in the terminal by clicking "Run in Java".

-
Open your web browser and go to
http://localhost:8080to use the converter.
-
Decimal to Binary:
- Enter a decimal number in the input field.
- Click the "Convert" button.
- The binary equivalent will be displayed.
-
Binary to Decimal:
- Enter a binary number in the input field.
- Click the "Convert" button.
- The decimal equivalent will be displayed.
Contributions are welcome! Feel free to open issues or submit pull requests.



