Privacy and Cookie Policy
1. In short
- You can use aiMermaid without an account. Your diagrams, notes and attachments are then not sent to our server. They stay in your browser and in the files you download.
- You can also create a free account. We then store your e-mail address, your consents and the projects you yourself copy to the cloud (sections 4–6). Nothing goes to the cloud automatically. Account and cloud project data is stored in the European Union (Frankfurt).
- We use no cookies and no ads. After you sign in, your browser keeps a session token without which sign-in cannot work (section 13).
- A PRO account, once we approve it, can use the API (section 7). We then record data about requests and refused content, never project content.
- We collect anonymous usage statistics (section 9): they do not identify you, and nothing is stored on your device for them.
2. Controller
The controller of personal data is WERTUM Jarosław Tabor, ul. Stanisława Staszica 8M lok. 3, 05-092 Łomianki, Poland, NIP (Tax ID) 5671796365, REGON 142868040.
Privacy contact: e-mail rodo@wertum.pl or by post at the address above. We have not appointed a Data Protection Officer (not required).
3. Using the app without an account, and local projects
Without an account the app runs entirely in your browser. Everything you create (blocks, arrows, names, notes, materials and attachments) is processed only on your device. We have no access to it, do not store it and cannot recover it. The same applies to a signed-in user's local projects until they copy them to the cloud.
If you put other people's personal data into a local diagram or attachment, you decide how it is used. We are neither its controller nor its processor.
The microphone is used only when you click "Record a voice note", and only while you record. The recording stays in your browser like other attachments, and goes to the cloud only if you copy the project to the cloud.
Export (.json, .zip, .md, .png, .svg) and import happen locally, between your browser and your disk.
4. Account
You sign up and sign in without a password on the /login/ page, with a link and a 6-digit code sent by e-mail. The page does not reveal whether an e-mail address already has an account.
What we process: e-mail address; account ID; dates of account creation, e-mail confirmation, last sign-in and last activity; account plan (Free or PRO) and invite bonuses; consents (type, document version, time granted and withdrawn, where granted).
- Purpose and legal basis: creating and running your account and providing the services described in the Terms (Art. 6(1)(b) GDPR); recording consents so we can show they were given (Art. 6(1)(f) with Art. 7(1) GDPR).
- Retention: until the account is deleted. After deletion, data may remain in the provider's backups for up to 7 days.
- If we block or delete an account: when we block or delete an account for security reasons or a breach of the Terms, we record when and why, together with the account's e-mail address and ID (Art. 6(1)(f) GDPR: keeping the service secure and defending legal claims). We keep this record for 3 years, also after the account is deleted, and then keep it only in a form that no longer identifies you. You can appeal a block or deletion by writing to support@aimermaid.app.
- Giving your e-mail address is voluntary, but without it you cannot create an account. Saving to the cloud requires a confirmed e-mail address.
Bot protection. Sign-in and sign-up use Cloudflare Turnstile. It checks that a human is filling in the form, based on browser signals and the IP address. It sets no cookies and does not read what you type in the form. Legal basis: our legitimate interest in protecting the service from abuse (Art. 6(1)(f) GDPR).
Temporary e-mail addresses. When you sign up with e-mail, we check whether the domain of the address (the part after “@”) is on a list of disposable-mail providers. If it is, the sign-up is refused. We keep the refused domain, without the address or any personal data, for 90 days. Existing accounts and Google or Apple sign-in are not checked. Legal basis: our legitimate interest in protecting the service from abuse (Art. 6(1)(f) GDPR).
4a. Logout survey
When you log out of your account, the /bye/ page may ask one question: how likely you are to recommend aiMermaid (0 to 10), with an optional comment and an optional tick "You can e-mail me about this".
- What we process: the score, the comment, whether you allowed contact, the time, your account ID and the ID of the login session you logged out of. A one-time token for the survey is kept in your browser (sessionStorage,
aim.exitSurvey) until you answer or close the tab. - Purpose and legal basis: improving the product (Art. 6(1)(f) GDPR). Using your name and e-mail to contact you about your answer only if you ticked the box (Art. 6(1)(a) GDPR); you can withdraw this at any time by e-mail to the controller.
- Who sees it: only the service administrator, on a protected statistics page. Without the tick, the administrator sees your public username only, not your name or e-mail.
- Retention: answers for 24 months, survey requests without an answer for 2 days; deleted with your account. Processor: Supabase (section 12).
- Answering is voluntary. You can see your answers in "Download my data".
5. Cloud projects, version history and attachments
If you sign in and click "Copy to cloud", we store that project's content (blocks, arrows, names, notes, levels) and its attachments, plus the project name, size and change dates. A cloud project saves automatically while you edit. The local copy stays.
- Version history: saves create earlier versions you can restore. We keep them for 30 days (Free plan) or 1 year (PRO plan); older ones are deleted automatically once a day.
- Attachments are kept in a private file store, in a folder tied to your account. Files no longer referenced by any project or kept version are deleted automatically.
- Access: each user can read and change only their own projects; the server checks this on every request. The provider encrypts the data. We do not browse project content; technical access happens only for an outage, a security incident or at your request.
- Purpose and legal basis: storing your projects and giving you access to them (Art. 6(1)(b) GDPR).
- Inactive Free accounts: if you do not use a Free account that has cloud projects for 12 months, we send you a warning e-mail. If you do not sign in within the next 30 days, we delete the cloud projects. The account itself stays. Signing in stops the process.
- Retention: until you delete the project or the account, or until deletion for inactivity.
If you put other people's personal data into a cloud project, we store it on your behalf and only to provide the service to you. You are responsible for putting it there.
6. Public links and invites
Public links. You can create a view-only link to a cloud project. Anyone with the link sees the whole project, nested levels included. On the PRO plan you can add a password and an expiry date and see how many times the link was opened. You can turn a link off at any time; deleting the project or the account also deletes its links. About people viewing a link we store only the open count and the time of wrong password attempts (to limit attempts), and otherwise only server logs (section 8). You decide whether and with whom you share a link. A link also shows your display name and avatar, if you set them, and an invitation to try aiMermaid; on PRO you can turn this off in Settings.
Invites. Every account has an invite code. If a new person signs up from your link and confirms their e-mail within 7 days of creating the account, both of you get a bonus (+1 cloud project and +5 MB; the inviter for at most 5 invites), and 3 rewarded invites give the PRO plan. We record who invited whom and the number of rewarded invites. The inviter sees only that number, not the invited person's e-mail address. The code from the link is remembered by the browser until sign-up (section 13). Legal basis: Art. 6(1)(b) GDPR.
7. API access (API keys)
An account on the PRO plan, once we approve it, can create API keys, so that programs and AI tools can read projects or propose changes. We store only a hash of the secret of a key, never the secret itself, plus its name, scope and the dates it was created, last used and expires.
- Request log: for each request we record the account, the key, the operation name, time, duration, result code and response size; never the content of diagrams, notes or attachments. We keep it for 90 days, then it is deleted automatically. Failed authentication attempts are counted per minute without storing an IP address.
- Log of refused content: when a note, project goal or text file is refused by the content check, we record the account, the key (for the API), the kind of text (note, goal, file), the ids of the rules that fired, the size and the channel (API or editor); never the text itself. The editor reports refusals only for signed-in users, at most 20 per hour per account. We keep it for 90 days, then it is deleted automatically.
- Version history and statistics: a version saved through the API carries the name of the key that made the change. The administrator sees account ids, key names and operation names in the API statistics, never project content.
- Change proposals from AI tools are kept until accepted or rejected, at most until the project or account is deleted.
- Purpose and legal basis: providing API access (Art. 6(1)(b) GDPR); the request log, failed attempts and the log of refused content – security, usage limits, detecting abuse and outages, statistics (Art. 6(1)(f) GDPR). You have the right to object (section 15).
- Deleting the account deletes keys, proposals, the request log and the log of refused content.
Content you pass to an AI tool (e.g. through an API key) reaches its provider under its terms; that is your decision.
8. Server logs
Each time the page is opened, the hosting server automatically records: IP address, date and time, requested file, response code and size, referring page, and browser/system information (user agent). The account and cloud provider (Supabase) keeps similar logs for sign-ins and every cloud request, including opening a public link.
- Purpose: delivering the site and account services, security (e.g. detecting attacks and abuse), diagnosing errors.
- Legal basis: our legitimate interest (Art. 6(1)(f) GDPR) in a safe and working service.
- Retention: Netlify logs up to 30 days, Supabase logs up to 7 days, unless needed to investigate a security incident or pursue claims (then until that ends).
- Recipients and transfers outside the EEA: section 12.
We do not combine logs with other data and do not use them for profiling or automated decisions.
9. Anonymous usage statistics
To see what works in the app and what needs improving, we collect anonymous usage statistics. They are not used to identify you, not used for advertising, and not combined with other data. We use no cookies for them and store nothing in your browser's storage for them.
What we collect:
- device type (phone, tablet or computer), operating system family (e.g. Windows, macOS, iOS, Android), browser family (e.g. Chrome, Safari, Firefox), window width in pixels, and how you operate the app (mouse or touch);
- country, region and city (approximate, town level), derived by Netlify from your IP address when the data is sent. The IP address itself is not stored. If the Administrator turns on the ipify geolocation service (geo.ipify.org), the IP address is passed to it once, when the first data of a session is sent, and country, region and city come back. We do not store it;
- an anonymous daily visitor identifier: a hash of the IP address and the browser identification string, mixed with a random salt that is valid for one day and then deleted. It lets us count how many different visitors there were on a given day. It cannot be reversed to an IP address or linked to another day. The IP address and browser string are used only briefly in server memory and are not stored;
- interface language (two-letter code, e.g. pl, en);
- the domain name of the site you came from (never the full address), and the campaign tags utm_source, utm_medium, utm_campaign, utm_term and utm_content and the codes ref, aff and inv (referral, partner, invite), if they are in the address (codes: letters, digits, "_" and "-" only);
- names of the buttons and menu items you use (the labels shown in the app, e.g. export to PNG);
- adding and deleting a block or group: only the block type and, for a deletion, how many seconds after adding it happened (no contents, names or position);
- first-use milestones in each session: first block, first arrow, first group, first note, first attachment, each export (with its format), each import (Mermaid, project file or ZIP bundle), save, load, Beautify, feedback sent, and a diagram restored from autosave;
- rejected attachments: the file extension (only from a fixed list, otherwise "other") and the reason (wrong file type, file too large, project limit);
- counts describing the diagram, never its content: number of blocks by block type, arrows and groups, the deepest level of nested groups, number of blocks and groups with notes or attachments, number of attachments by file type (txt, md, mmd, png, jpg, mp3, m4a, wav, ogg, webm), total size by type, number of files on one block, size in bytes of each attachment, number of blocks and arrows on each level of nested projects, length of each note in characters, size in bytes of each text attachment, and total size of the diagram;
- timing: the time from the start of the session to each event (in milliseconds), the length of the session, and the active working time (pauses over 30 seconds are not counted);
- problems: for a script error, the error type, the file and line of the app code, a short call stack (function names and line numbers), the error message automatically cleaned of quoted text, long numbers and web addresses, the names of the last ~10 buttons used, the nesting level of the project, the number of blocks and the version number of the site; also fast repeated clicks on the same spot (the button name) and a failed import (no file names or contents);
- the day on which the data was collected;
- a random session number. It exists only in memory while the browser tab is open. A reload or a new tab starts a new session, and nothing stays on your device;
- an "internal" flag that exists only in browsers of the Administrator and their team, marked by themselves, to set their own visits apart from the statistics. Nothing is stored on anyone else's device.
What we never collect:
- your IP address or browser identification string (user agent) in stored form: we use them only briefly to compute the anonymous hash and to find the place;
- cookies, or anything saved on your device for statistics;
- names of blocks, text of notes, contents of attachments, or diagrams themselves;
- file names, including attached and rejected files;
- anything that identifies you, such as an account name or e-mail address.
We do not collect statistics from automated browsers (robots, test tools) or from the app running on a developer's computer (localhost).
- Purpose: improving the app and planning new features based on how people actually use it.
- Legal basis: our legitimate interest (Art. 6(1)(f) GDPR) in developing the service based on real use. You may object at any time (section 15).
- Retention: 13 months from collection. Older data is deleted automatically, once a day.
- Recipients and transfers outside the EEA: Netlify, Inc. (USA) stores the data in Netlify Blobs, on the same terms as the logs described in section 8. If the Administrator turns on ipify geolocation, the IP address also goes to ipify (a US provider) solely to read country, region and city. Only the Administrator (the site owner) can view the statistics or download the raw data. We do not sell the data or share it with anyone else.
Statistics are collected automatically while you use the app; you do not need to do anything. To object, write to us. Since we cannot tell which visit is yours, a rough time of your visit helps us find it.
10. Contacting us and feedback from the app
If you write to us (e.g. e-mail, complaint), we process your contact details and message to reply and handle the matter (Art. 6(1)(b) or (f) GDPR), for as long as needed and then for the limitation period of possible claims.
The "Feedback" button in the app sends us what you type in the form: the kind of message, the text and, if you want a reply, your e-mail address. We attach no diagram or other data from your browser. Please do not put sensitive data in your message.
- Purpose: improving the app; the e-mail is used only to reply to your message.
- Legal basis: our legitimate interest (Art. 6(1)(f) GDPR) in developing the service based on user feedback.
- Retention: up to 24 months after receipt, then deleted or anonymised; deleted earlier on your request.
- Recipients and transfers outside the EEA: messages are stored in Netlify Forms (Netlify, Inc., USA), on the same terms as the logs described in section 8. We do not send e-mail notifications from them.
11. E-mails from us
- E-mails needed to run the account: sign-in link and code, address confirmation, inactivity warning (section 5) and notices of important changes to the Terms or this policy. Legal basis: Art. 6(1)(b) GDPR.
- News e-mails are sent only if you tick the consent. You can withdraw it at any time in account settings; withdrawal does not affect earlier sending. Legal basis: your consent (Art. 6(1)(a) GDPR and Art. 398 of the Polish Electronic Communications Law).
- E-mails are sent on our behalf by EmailLabs (Vercom S.A., Poland). We do not track opens or link clicks.
12. Recipients and transfers outside the EEA
The following process data on our behalf under data processing agreements (Art. 28 GDPR):
| Provider | What it does | Where |
|---|---|---|
| Supabase, Inc. | accounts, sign-in, database, cloud project files, server functions, API | data in the EU (Frankfurt, Germany); US company |
| Netlify, Inc. | site hosting, server logs, statistics, feedback | USA, global server network (CDN) |
| Vercom S.A. (EmailLabs) | sending e-mails | Poland |
| Cloudflare, Inc. (Turnstile) | bot protection for sign-in and sign-up | USA, global |
| ipify (only if statistics geolocation is on) | country, region and city from the IP address | USA |
Data may also be disclosed to authorities when the law requires. We do not sell data.
Where data is processed outside the European Economic Area, this relies on standard contractual clauses approved by the European Commission (Art. 46(2)(c) GDPR) in our provider agreements, or on a Commission adequacy decision (EU-US Data Privacy Framework) where it applies. Write to us for a copy of the safeguards.
13. Cookies and browser storage
This site uses no cookies. It does use your browser's storage (localStorage and IndexedDB). We store there only what is strictly necessary for features you actively use, so under Art. 399(3) of the Polish Electronic Communications Law no consent is required. Of this data only the session token is sent, and only to our account service, to confirm that you are signed in. The usage statistics (section 9) do not use this storage.
| Name | Type | Purpose | How long |
|---|---|---|---|
mermaid-creator-autosave | localStorage | Autosave of the current diagram, so it survives a page refresh | Until you clear it |
aimermaid (database) | IndexedDB | Files you attach to diagram steps | Until the attachment or site data is deleted |
mermaid-creator-skin | localStorage | Remembers the chosen theme | Until you clear it |
mermaid-creator-panel-sizes | localStorage | Remembers panel sizes | Until you clear it |
mermaid-creator-snap | localStorage | Remembers the snap-to-grid setting | Until you clear it |
mermaid-creator-text-plus | localStorage | Remembers the chosen text size | Until you clear it |
aimermaid-privacy-notice | localStorage | Remembers that the privacy notice was closed | Until you clear it |
sb-pltlaavsvbpebaopfbsp-auth-token | localStorage | Session token after sign-in; sign-in cannot work without it | Until sign-out |
aimermaid-invite | localStorage | Invite code from a link, kept until sign-up | Until sign-up or until you clear it |
aimermaid-image-mark-off | localStorage | PRO plan: aiMermaid mark turned off on PNG/SVG images | Until you clear it |
aim.exitSurvey | sessionStorage | One-time token for the logout survey | Until you answer or close the tab |
You can delete this data at any time in your browser settings ("Clear site data" or similar). This removes any unsaved local diagram and local attachments and signs you out; cloud projects stay. You can also block browser storage; the app still works, without autosave, sign-in or remembered settings.
14. External links
The site has plain links to LinkedIn, wertum.pl and buycoffee.to. No plugins or scripts from those services are embedded. They receive data only when you click, under their own privacy policies.
15. Your rights
For the data we process you have the right to access, rectification, erasure, restriction, data portability and to object to processing based on legitimate interest (Arts. 15–18, 20 and 21 GDPR). You can withdraw consent to news e-mails at any time.
In the app you can yourself: download all your account data (a ZIP with account data and every cloud project), withdraw consent to news e-mails and delete your account. Deleting the account deletes cloud projects, attachments, version history and public links, as well as API keys and their logs (section 7).
For anything else, write to us. An IP address alone usually does not let us identify you, so for logs and statistics we may ask for more details (e.g. the approximate time of your visit).
You may lodge a complaint with the supervisory authority: President of the Personal Data Protection Office (UODO), ul. Stawki 2, 00-193 Warszawa, Poland, uodo.gov.pl, or with the authority in your EU country of residence.
Log data is a technical condition for showing the page. Usage statistics are collected automatically. Giving data when contacting us, in feedback and when creating an account is voluntary; without an e-mail address we cannot reply to feedback and you cannot create an account. To have a feedback message deleted, write to us with its text or approximate time of sending.
16. Changes
We may update this policy, e.g. when the app or providers change. The current version is always at this address, with its effective date at the top. We tell account holders about important changes by e-mail before they take effect.