Guide

Update an HTML file without changing the link

Sent a page and found a mistake? Replace the file and keep the link: everyone you sent it to sees the new version the next time they open it. On Pro you can also go back to an earlier one.

By the ShareHTML team. Updated .

Replace the file

  1. In your dashboard, open Pages.
  2. Choose More on the page, then Replace, and pick the new file.
  3. The address stays the same, and so do the page's name and who can open it.

Replacing works on both plans. The new version goes through the same steps as any upload before it goes live.

From your AI

With ShareHTML added to Claude or ChatGPT, ask: "Update my quiz page with this new version." The connector replaces it with update_page. Coding agents send the new file to the same page:

curl -X PUT https://sharehtml.org/api/v1/pages/<id> \
  -H "Authorization: Bearer $SHAREHTML_KEY" \
  -H "Content-Type: text/html; charset=utf-8" \
  --data-binary @page.html

Go back to an earlier version (Pro)

Pro keeps each page's current version and the 2 before it. Choose More, then Versions: download any of them, or choose Restore on one that was live. It comes back as the newest version, at the same address, with the same name and lock.

Pro is $4 a month billed yearly. See plans.

Questions

Will the link change when I replace the file?
No. The link is the page's; the file behind it can change as often as you like.
Can I undo a replace?
On Pro, yes: restore the version before it, within 180 days.
Do people need to do anything to see the new version?
No. They open the same link and get the newest version.

More: a custom link for your page and sharing privately.