Skip to main content

Employee ID Card Generator with QR Code in Django Free Source Code


Employee ID Card Generator with QR Code using Django in Python

This project is entitled Employee ID Card Generator with QR Code. This is a web-based application developed in Python and Django Framework. The project is an online platform for generating the ID Card for the Company's Employees. The ID Card Generated in this system contains also a QR Code of each employees' ID or Code. The system has a simple and pleasant user interface using the Bootstrap v5 framework. It also consists of user-friendly features and functionalities.

About the Employee ID Card Generator with QR Code

I developed this project using the following:

  • Python
  • Django
  • SQLite3
  • HTML
  • CSS
  • JavaScript
  • jQuery
  • Ajax
  • Django-QR-Code Library
  • Pillow Library
  • Fontawesome
  • Bootstrap v5

This Employee ID Card Generator with QR Code Project is accessible only to the company's management. The registered system users require to enter or log their system credentials in order to gain access to the features and functionalities of the system. The Admin Users are the only ones who have the privilege to register a new user for the site. The users can simply fill in the basic information and company information of employees and the system will automatically generate the employee's ID Card using the static format. Users can also print, edit, and delete the ID Card of the employee. On this system, users can also search or retrieve the employee's detail by only scanning the QR Code of the employee.


  • Login and Logout
  • Home
    • Displays the total count of employees
  • Employee Management
    • Add New Employee
    • List All Employees
    • Update Employee Details
    • Employee Details
    • Delete Employee
  • View Employee's Generated ID Card
  • Print Employee's Generated ID Card
  • Automatically Generates the Employee's QR Code
  • View Employee Details by Scanning the QR Code

Sample Snapshots

Home Page

Employee ID Card Generator with QR Code

Generated ID Card

Employee ID Card Generator with QR Code

Generated ID Card - Print View

Employee ID Card Generator with QR Code

QR Scanning to View Employee Details

Employee ID Card Generator with QR Code

The system source code is free to download on this project and only for educational purposes only. The source code is not that so tricky which means not that difficult to understand. Feel free to download and modify the source code the way you wanted.

How to Run

Download/Install the following

  • Python (I used v3.9.1)
  • PIP (for python modules installation)


  1. Download and Extract the provided source code zip file. (download button is located below)
  2. Open your Terminal/Command Prompt window. (make sure to add "python" and "pip" in your environment variables)
  3. Change the working directory to the extracted source code folder. i.e. cd C:\Users\Personal-23\Desktop\django_employee_qr
  4. Run the following commands:
    • pip install -r requirements.txt
    • python migrate
    • python runserver
  5. Keep the terminals open and running.
  6. Open a web browser and browse http://localhost:8000/ or

Note: I might forget to list some other modules/libraries. Kindly Install the missing modules if any occurred.

Access Information for AdminSite

Username: admin
Password: admin123 for the Django's Admin Site.


That's it! I hope this will help you with what you are looking for. Maybe you'll find this Employee ID Card Generator with QR Code useful and can help you with your future Python Django Projects.

Explore more on this website for more Free Source Codes and Tutorials.

Enjoy :)

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.


1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

Add new comment