DEV Community

Manas Sahu
Manas Sahu

Posted on

From IPC to BNS: I built a web tool to simplify India’s new criminal laws

🧠 I Built a Tool to Convert IPC Sections to BNS Instantly

With the shift from the Indian Penal Code (IPC) to the Bharatiya Nyaya Sanhita (BNS) in 2024, I noticed something:

👉 It’s actually confusing to track how sections have changed.
👉 There’s no quick way to understand mappings or transitions.

So I decided to build something simple.

🚀 What I Built

I created a web tool that helps you:

Convert IPC sections to their corresponding BNS sections
Understand how the structure has changed
Quickly access different chapters and mappings

The goal was to make it fast, simple, and useful—especially for students and anyone exploring the new legal system.

💻 Tech Stack

I kept the stack simple and focused:

Frontend: HTML
Backend: Python
Framework: Flask
Deployment: Vercel

The backend handles the mapping logic, while the frontend keeps things clean and easy to navigate.

🎯 Why This Matters

This tool can be useful for:

Law students trying to understand the transition
People preparing for exams
Anyone curious about how IPC maps to BNS

Instead of going through multiple sources, you get a quick and structured answer in one place.

🔗 Try It Out

You can check it out here:
👉 https://ipc-to-bns-mauve.vercel.app/

Top comments (0)