Docs / Using the editor

Sharing and exporting

Every way to get a diagram out of Volley and in front of someone else.

On this page

Links and embeds are in the Share dialog, opened from the Share button in the editor's toolbar. Saving, exports and opening files are in the File menu next to it.

The Share dialog

For a saved diagram, the dialog starts with Who can open it: Anyone with the link (unlisted) or Only me (private, Pro). The choice takes effect immediately. See Managing diagrams.

FieldWhat it copiesWho can open itUpdates when you edit
Link (unsaved diagrams)A share link that carries the whole diagramAnyone with the linkNo, it is a snapshot
Link (saved diagrams)The short link, such as volley.sh/d/abc123Anyone with the link if the diagram is unlisted; only you if it is privateYes
README embed (saved diagrams)Markdown for an image that links to the diagram. See Embeds.Anyone who can see the READMEYes
HTML embedAn iframe for web pages. See Embeds.Anyone who can see the pageYes for unlisted saved diagrams
Link to this exact version (saved diagrams)A share link that carries the diagram as it is nowAnyone with the linkNo

Turn on Open as a presentation (Pro) to change the links so they open in presentation mode.

An unsaved diagram also gets a Save to your account button at the top of the dialog, for a short link instead of a share link.

A share link looks like volley.sh/edit#src= followed by a long code. The code is the diagram's source, compressed. Because it comes after the #, browsers never send it to a server: Volley does not store share links and cannot see them. The person who opens the link gets their own copy in the editor, and the notice that appears lets them undo it if it replaced their own draft.

Very large diagrams make very long links. Some chat apps and email clients cut long links short; if a link breaks, save the diagram to your account and send the short link instead.

A link can also carry the diagram as plain text: volley.sh/edit#text= followed by the source, percent-encoded. It opens the same way as a share link. Volley itself does not make these links, because they are much longer, but a script or a chat assistant can. The AI sequence diagrams page has a prompt that asks for one.

Signed in, a saved diagram has a short link at /d/ plus ten characters. It always shows the latest version. Someone who opens your short link sees the diagram in the editor with "Shared by" and your name in the toolbar. They can change it to try things out, but their edits are not saved to your diagram; Save a copy to your account in the File menu or the Share dialog gives them their own copy. See Managing diagrams.

Copy as Markdown

Copy as Markdown in the File menu copies a text description of the diagram: the title, the lanes, every message in order with its replies, notes and sections, and each payload in a code block. Paste it into a pull request, a wiki page, a ticket or a chat with an AI assistant.

Downloads

Downloads are in the File menu.

OptionYou get
Download .volley fileThe source as a text file, named after the title. Open it later with Open a file, keep it in a repository, or pass it to the command line tool.
Download SVGA vector image in the current appearance. Inline payloads are included when Show payloads is on.
Download PNGA high-resolution image, without payloads or selection. The diagram's source is stored inside the PNG, so dropping the image back on the editor reopens the diagram.

SVG images carry a small "Made with Volley" badge on Free. Pro removes it.

PNGs that remember their source

A PNG from Volley is an ordinary image anywhere else, but Volley can read the diagram back out of it. Drop it on the editor, or choose Open a file, to keep editing. Images that did not come from Volley, or that were re-saved by another program, may have lost the source; Volley tells you when that happens.

Opening files

Open a file in the File menu opens .volley, .txt and Volley PNG files. You can also drop a file anywhere on the editor. Import a HAR opens a browser recording; see Import a HAR file.

Suggested

↑↓ moveEnter openEsc close

Keyboard shortcuts

/ or Ctrl+KSearch the docs
↑ ↓Move through search results
EnterOpen the highlighted result
Ctrl+EnterOpen the result in a new tab
[ and ]Previous and next page
g then hDocs home
tBack to the top of the page
?Show these shortcuts
EscClose a dialog

The editor has its own shortcuts. See Keyboard shortcuts.