encrypted in your browser Open source
Command line

Share an HTML file from your terminal

One command. The file is encrypted on your machine before anything is uploaded, and you get a private link — copied to your clipboard, ready to paste to someone. No install, no account, no public URL.

npx html-cloud ./report.html
Share link (anyone with this can view) — copied to clipboard:
  https://html.cloud/v/kT4eN7xQ#b3FvXyJq…

Edit link (keep private — replace, change expiry, delete):
  https://html.cloud/e/kT4eN7xQ#9dKw2mPv…

Encrypted locally with AES-256-GCM · expires in 30 days · the server never saw the keys

What actually happens

  • Keys are generated locally. The CLI creates a random AES-256-GCM view key and an edit key inside the process on your machine.
  • The file is encrypted before any network request. Only ciphertext is uploaded — the same zero-knowledge model as the html.cloud website, using literally the same open-source crypto module.
  • The keys travel only inside your links. They sit after the # in the URLs the command prints. That part of a URL never reaches a server.

The full model — including what we can and cannot see, and the honest limitations — is on the how encryption works page.

Pipe straight from a generator

Pass - to read from stdin. If a script or AI tool produces HTML, you can go from output to private link without touching a browser:

my-report-tool | npx html-cloud -

Options

OptionDoesDefault
--expires 7|30|neverDays until the link expires30
--no-copyDon't copy the share link to the clipboardcopy is on
--url <base>Use a different server (or $HTML_CLOUD_URL)https://html.cloud

Limits: one .html/.htm file (or stdin), max 10 MB, Node 20+. Expiry can be changed later from the edit link. The clipboard is only touched in interactive use — piped and scripted runs never alter it.

FAQ

Do I need to install anything?

No — npx (bundled with Node.js 20+) fetches and runs the tool in one step. Nothing is permanently installed.

Where does the encryption happen?

In the CLI process on your machine, before any upload. The package is on npm and the source is on GitHub — it shares one crypto module with the web client, so you can verify this rather than trust it.

Can I replace or delete a file I shared?

Yes — open the edit link the command prints. You can replace the file without changing the share link, change the expiry, or delete it immediately.