Password encryption
Use a password when a diagram must not be readable by people who only have its read link.
Choose Encrypt & Publish to opt into encrypted server persistence. Choose Save as File when the draft should remain local. An editable SVG export is plain text so it can remain a useful image, and it must not be treated as an encrypted backup.
What is encrypted
When you lock a diagram, the browser encrypts these items before it sends them to diagram.zip:
- diagram source;
- diagram type and renderer options;
- presentation settings;
- title and description;
- published SVG and PNG renders.
The browser decrypts the diagram after you enter the password. The renderer can receive the source while it creates a preview. Persistent storage receives encrypted data for a locked diagram.
What the password does
The browser creates a private encryption key for the diagram. The password protects that key. The browser uses a new random value for each encrypted item.
The password and the unwrapped encryption key stay in the browser. diagram.zip does not receive either value.
The password also protects read access. A person with only the read link sees a password prompt. A person with an edit link still needs the password before they can read or publish the diagram.
Password changes
Changing the password changes the protection for the private encryption key. It does not require the browser to encrypt every stored item again.
Enter the current password before you change or remove password protection.
Password loss
There is no password reset or account recovery. If you lose the password, you cannot decrypt the source, metadata, or published renders. Keep a secure copy of the password when the diagram is important.
Locked drafts
The editor keeps an open draft in the browser so you can recover recent work. It does not write a locked draft to browser storage as plaintext.
For a locked diagram, keep the page open and publish the diagram explicitly. A locked draft is persisted only after a successful publish. If the page closes before that publish, the browser may not be able to restore the draft.
Embeds
Locked diagrams cannot use public SVG or Markdown embeds. An embed has no safe way to ask for the password. Open the diagram in diagram.zip to enter the password and view it.
An editable SVG imported from a file, pasted text, or a URL creates a local draft after validation. The importer rejects ordinary, ambiguous, unsupported, or lossy SVG and limits input to 5 MiB.