In short
- DNhanLab is a diagram app. We keep what you need to use it: your account, your diagrams and your plan.
- Before any text reaches our AI provider, personal data such as e-mails and phone numbers is hidden. Images you send to AI are never stored, and nothing you send is used to train AI models.
- Personal data that we detect in a diagram (phone numbers, e-mails, ID and card numbers…) is not saved: it is replaced by a label.
- In DNhanLab AI Documents and the PDF Editor, images and PDF files you add are stored as they are, without filtering. Please keep personal data out of them.
- We don't sell your data or use it for advertising. Analytics runs only if you accept it.
- When you share a diagram or write in a team, the people you share with see it, with your name. Team chat and notes are stored as you write them, so keep sensitive data out of them. Chat messages, in Support and in teams, are deleted automatically after 30 days.
- You can delete your diagrams, messages, support chats and your whole account yourself, and they are deleted from our database.
1. Who we are
This policy explains how DNhanLab (“we”, “us”) handles personal data when you use dnhanlab.com, the DNhanLab app and its editors (the “Services”). DNhanLab decides why and how this data is used (the “controller”). You can reach us at support@dnhanlab.com.
2. What we collect
Your account
- Your e-mail address, and the name and profile picture from Google if you sign in with Google.
- Sign-in records kept by our authentication provider (time of sign-in, method, and technical data such as IP address).
Your diagrams
- The diagrams you create: their name, the step table, layout and settings.
- Personal data we detect in a diagram is not saved: phone numbers, e-mail addresses, ID, passport, card and bank account numbers, passwords and keys are replaced by a label such as “[phone number]” before the diagram is stored. Our detector does not recognise people's names, street addresses or other free-form text, so please don't put sensitive personal data in diagrams.
Documents
- The documents you write in DNhanLab AI Documents: their text, formulas, tables and settings. They are filtered for personal data on saving, like diagrams.
- Images you add to a document are stored on Cloudflare R2 in the European Union. They are not filtered for personal data. Please don't put personal data in your documents.
PDF Editor
- The PDF files you open or add, and the images you put on them, are stored as they are on Cloudflare R2 in theEuropean Union, without filtering. Please don't put personal data in them.
- The text AI reads from scanned pages, and what you type into a scanned form, are saved with the file, so a page is never read twice. They are filtered for personal data on saving, like diagrams.
Sharing and teams
- Your team (who is in it, who invited whom) and which diagrams are shared with whom, to view or to edit. To invite someone or share with them, you type the e-mail address of their DNhanLab account.
- Team chat messages and team notes (meant only for talking about the diagrams you work on together), with who wrote them and when, and when you last read each chat. They never go to our AI provider and are stored as written: unlike diagrams, they are not filtered for personal data, so please don't put passwords, card numbers or other sensitive data in them.
- The history of changes (Undo, Redo and the History list) stays in your browser tab only: it is not saved, and it is gone when you close or reload the page.
AI usage
- For each AI request we record which feature and model were used, how many tokens it took and when. This counts your AI tokens against your balance. We do not keep the text you sent or the AI's answer apart from what ends up in your diagram.
Support messages
- Messages you send to Support in the app. Personal data in them (e-mails, phone numbers, ID and card numbers…) is hidden. Our support staff see your name and account e-mail so they can answer you.
Plan and payments
- Your plan, the AI tokens you bought, when, and how many are left (and until when).
- Payments are handled by our payment provider Polar. We never receive or store your full card number. We may receive the card brand and its last four digits to show them on your billing page.
Technical data
- Your IP address, browser and device information, processed by our hosting and security providers to deliver the site and protect it from abuse (for example Cloudflare Turnstile on the sign-in form).
- If you accept analytics: how you use the site (pages visited, time spent), collected by Google Analytics. See the Cookie Policy.
3. How we use it, and why we may
| Purpose | Legal basis |
|---|---|
| Create your account, sign you in, save and show your diagrams, run the AI features you ask for | Performing our contract with you (the Terms of Service) |
| Count AI tokens and diagrams against your plan; add the AI tokens you buy | Performing our contract with you |
| Share diagrams, show team chat and notes to the people you work with | Performing our contract with you (you ask for it when you share or join a team) |
| Answer support requests | Performing our contract; our legitimate interest in helping you |
| Keep the Services secure, prevent abuse and fraud | Our legitimate interest in a safe service |
| Understand how the site is used (Google Analytics) | Your consent, which you can withdraw at any time |
| Keep records required by law (for example tax and accounting) | Legal obligation |
4. AI features
Features such as creating a diagram from a description or an image, Ask AI and Smart Layout send your request to our AI provider, OpenAI, from our servers. Your browser never talks to the AI provider directly.
- Personal data is hidden first. E-mails, phone numbers, ID, passport, card and bank account numbers, passwords, keys and IP addresses are replaced by placeholders such as [EMAIL_1] before the text leaves our servers. The real values are put back into the answer on our side. The list linking placeholders to values exists only in memory for that one request and is never stored or logged.
- Limits. Names of people, street addresses and other free-form personal text are not detected, and the contents of an image cannot be hidden.
- Images are never stored. An image you send to draw a diagram goes through our server to the AI provider and is not saved to our database, our storage or our logs.
- Documents and PDF Editor: page pictures. When you import a PDF or a photo, let AI fill in older formulas from a Word file, or let AI read scanned pages in the PDF Editor, pictures of the pages are sent to the AI provider as they are, without hiding personal data. We don't store them.
- Documents: Word files. A Word file with older formulas is turned into a PDF on our own server (a Cloudflare Container running LibreOffice, with no Internet access). The PDF is deleted right after use.
- Not used to train AI. We use OpenAI's paid API with sharing of inputs and outputs turned off, so what we send is not used to train or improve OpenAI's models. OpenAI may keep API data for a limited time to detect abuse, then deletes it.
- Your conversation with the AI is not saved. Questions you ask in the AI chat and its answers stay only in the editor you have open, and are gone when you close or reload it. Only the changes you let the AI make end up in your diagram or document.
- AI answers can be wrong or incomplete. Check the diagram before you rely on it.
6. International transfers
Where your data is stored: our database, which holds your account, diagrams, team chat and notes, support messages and usage records, is hosted by Supabase in the European Union, in Stockholm, Sweden. Images in documents and PDF files are stored on Cloudflare R2 in the European Union.
Some providers process data in other countries to do their part, for example the United States for AI requests (OpenAI), account e-mails (Resend) and payments (Polar), and Cloudflare's network close to where you are. Where the law requires it, these transfers rely on the safeguards in the providers' terms, such as the European Commission's Standard Contractual Clauses.
7. How long we keep it
- Account and AI usage records: while your account exists. Deleting your account deletes them.
- After deleting an account: we keep its e-mail address only long enough to send one e-mail confirming the deletion (usually a few minutes), then delete the address too.
- Inactive accounts: when bought AI tokens expire (12 months after the latest purchase), a Pay as you go account moves to Free and keeps its files. A Free account nobody has used for 6 months (counted from the move to Free for an account that had bought AI tokens or had a paid plan) is deleted with its files, pictures and PDFs, after e-mail warnings 30 and 7 days before so you can download your data first. Signing in keeps it. See the Terms of Service.
- Diagrams: until you delete them. A deleted diagram, with its earlier versions, is removed from our database right away.
- Documents, PDF files and their images: until you delete them. Deleting a document or PDF file, an image in it or your account removes its files from our storage.
- Team chat messages: deleted automatically 30 days after they are sent, or earlier if their sender or the team leader deletes them, or the diagram, the team or the sender's account is deleted. When a team ends, for example because its owner deletes their account, its chat is deleted for everyone in it. Deleted messages are removed from our database.
- Team notes: until their author (or someone who manages the diagram's notes) deletes them, or the diagram or the author's account is deleted.
- Shares and team membership: until the diagram stops being shared, the person leaves or is removed from the team, or one of the accounts is deleted.
- Support messages: deleted automatically 30 days after the last message in a conversation, or earlier if you delete the conversation.
- Payment records: kept by Polar for as long as tax and accounting law requires.
- Copies in our database provider's backups disappear when those backups are replaced, within a short period.
8. Your rights
Depending on where you live, you can:
- access the personal data we hold about you and get a copy of it: Account settings > Download my data saves your files (documents also as .docx), pictures and PDFs, notes and messages in one ZIP file, at any time. For your security you sign in again first, and we e-mail you each time it is used;
- correct data that is wrong;
- delete it: you can delete diagrams, your chat messages and notes, support conversations and your whole account yourself in the app (Account settings). AI tokens left in a deleted account are lost;
- object to or restrict some uses, and withdraw consent (for analytics: Cookie Policy, “Change cookie settings”);
- complain to your data protection authority.
For anything you can't do in the app, write to support@dnhanlab.com. We answer within 30 days.
9. Security
Data travels over encrypted connections (HTTPS). Your session is kept in secure, HttpOnly cookies that page scripts can't read. Our database only lets each account reach its own data and what was shared with it, and our database provider encrypts stored data. Team chat is protected the same way but is not end-to-end encrypted. No system is perfectly secure; if a breach affects your data, we will tell you and the authorities as the law requires.
10. Age
The Services are for people aged 18 or over. We don't knowingly collect data from anyone younger.
11. Changes to this policy
We may update this policy. The date at the top shows the latest version; if a change matters, we will tell you in the app or by e-mail before it applies.