Skip to content

15 August 2026·3 min read

DPDP Act for Developers: A Plain-English Checklist

India's DPDP Act is not just a legal topic. Much of it lands in your code, forms, logs and databases. A practical checklist for developers.

When people talk about India's Digital Personal Data Protection Act, 2023 (the DPDP Act), they usually talk about lawyers and policies. Yet a lot of the real work lands on developers. The forms you build, the logs you write, the databases you design and the scripts you add all decide whether a product respects personal data or not.

I wrote this checklist for that work. It is simple on purpose.

1. Know What Personal Data You Have

You can't protect what you don't know about, so start with a map.

  • List every form that collects personal data
  • List every database table and column with personal data
  • List every third-party service that receives it (analytics, email, payments, support tools, AI tools)
  • Find personal data in unexpected places: logs, error reports, backups, CSV exports

2. Collect Less

The safest data is data you never collect.

  • Remove form fields you don't truly need
  • Don't store full ID numbers if you only need to verify them
  • Don't keep "just in case" data
  • Ask before you collect, with a clear purpose
  • No pre-ticked boxes
  • Separate consent for separate purposes (for example, order updates vs marketing)
  • Store a record of who agreed, to what and when
  • Make withdrawing consent as easy as giving it
  • Analytics, ad pixels and session recording don't load until the person agrees
  • If they say no, those scripts never load
  • Test this in a private browser window

5. Keep Personal Data Out of Logs

Logs are one of the most common leaks, and one of the easiest to miss.

  • Never log passwords, tokens or full card numbers
  • Mask phone numbers, emails and ID numbers before they are logged
  • Check error-tracking tools, which often capture full request data
  • Set a retention period for logs, and delete old ones

6. Protect the Data You Keep

  • Encrypt personal data in transit (HTTPS everywhere) and at rest
  • Give people and services only the access they need
  • Keep production data out of test and staging environments, or mask it first
  • Record who accessed sensitive data

7. Support People's Rights

People can ask to see, correct and delete their data. Build for it:

  • A way to export a person's data
  • A way to correct it
  • A way to delete it, including from backups and third-party services, over time
  • A simple way to contact you with privacy requests

8. Delete Data on Time

  • Decide how long each type of data is kept
  • Automate deletion when that time is up
  • Don't forget copies: exports, backups and analytics

9. Be Ready for a Breach

  • Know who to call and what to do if data leaks
  • Keep logs that help you understand what happened
  • Practise the plan once, before you need it

10. Extra Care for Children's Data

  • If children may use your product, plan for verifiable parental consent
  • Avoid tracking and targeted ads aimed at children

Tools That Help

I have built some free, open-source tools for this work:

  • consentbar: consent banner and preferences for the DPDP Act and GDPR
  • dpdp-india: finds and masks Indian personal data in logs, text and AI prompts
  • dpdp-scanner: finds personal data in your code and database schemas

Start With One Item

Pick the item that worries you most, usually logs or tracking scripts, and fix it this week. Then move to the next one. Privacy is much easier to build in early than to add later.


This checklist is a practical overview for developers, not legal advice. Please check the latest official guidance, or speak to a legal expert, for your specific situation.

Newsletter

Get New Posts by Email.

New posts on building, shipping and leading tech teams, sent to your inbox. No spam, and you can unsubscribe any time.

Keep Reading