Add your page.
Paste the HTML code from ChatGPT or another AI, or upload one .html or .htm file.
Simple & Fast
Got a page from ChatGPT or another AI? Paste the HTML or upload the file. Preview it, then create a public link you can share. Completely free. No account needed.
or
Hand this to the agent that wrote the page. It publishes the same way the button does — declare the file, PUT the bytes, deploy. Three commands, no account, no SDK, and nothing to install: `?type=shell` answers with variables your shell can read instead of JSON.
# Publish ./index.html at a public URL, live for one hour.
# Needs curl and a shell. Nothing else — `?type=shell` answers with
# KEY='value' lines to eval, so there is no JSON to parse and no jq.
# 1 — declare the file. Sets UPLOAD_URL, DEPLOY_URL, DELETE_URL, OWNER_TOKEN.
BYTES=$(wc -c < index.html)
eval "$(curl -sS -X POST \
"https://gpt2link.com/api/sites?type=shell&path=index.html&size=$((BYTES))")"
# 2 — send the bytes. The content type is pinned in the URL's signature.
curl -sS -X PUT "$UPLOAD_URL" \
-H 'content-type: application/octet-stream' \
--data-binary @index.html
# 3 — publish, and start the hour. Sets SITE_URL and EXPIRES_AT_ISO.
eval "$(curl -sS -X POST "$DEPLOY_URL" -H "authorization: Bearer $OWNER_TOKEN")"
echo "$SITE_URL is live until $EXPIRES_AT_ISO"
# Any step that fails prints the reason and stops the script.
# Done early? curl -sS -X DELETE "$DELETE_URL" -H "authorization: Bearer $OWNER_TOKEN"
Scan to test on mobile
Same URL, same expiry. No app needed.
10 MB max · No account required · Every link expires after 60 minutes
Preview HTML before you share it
GPT2Link is for the moment when an AI gives you a page, but you still need a simple way to show it to someone else.
Paste the HTML code from ChatGPT or another AI, or upload one .html or .htm file.
Check the page in your browser before you share it. No coding knowledge needed.
Create a temporary public link and send it to a friend, client, teammate, classmate, or anyone else.
How it works
Ask ChatGPT or another AI to give you the page as one complete HTML file.
Paste the code or upload the .html or .htm file.
Make sure the page looks right before you create the public link.
Create the link and send it. Anyone with the link can open the page for up to 60 minutes.
Made for the AI era
When your AI tool outputs a complete HTML page, gpt2link closes the last mile between generated code and something another person can actually open.
Useful by design
Share a working browser page while the idea is still moving fast—without turning every draft into a production project.
<section class="prototype">
<h1>New onboarding concept</h1>
<p>Ready for review.</p>
</section>
Perfect for AI outputs, class projects, QA reproductions, demos, and quick stakeholder reviews.
https://concept-42.youraihost.com
✓ opens in any browser
✓ no setup for viewers
✓ one link to share
“I can paste an experiment and give product managers a live preview link right away.”
“The fastest way to turn an AI-generated page into something I can actually send.”
“Great for sharing a prototype without creating a project just to host one file.”
FAQ
It hosts your HTML document online and gives it a public browser URL. The HTML stays the page content; the generated link is simply the address where others can open it.
No. The point is to make one-page sharing simpler than a normal deployment workflow.
60 minutes from the moment you generate it. When the hour is up the URL stops resolving and the files are destroyed — nothing is kept, and the address never resolves again.
Inline CSS and JavaScript can be included in the HTML document. External assets need to be reachable from the browser.
Yes. It is especially useful when ChatGPT, Claude, Cursor, Bolt, v0, Lovable, or another tool gives you a complete single-page HTML file that you want to share quickly.
Deleting destroys the files at once, but a copy already cached can keep opening for up to a minute.
This link has expired
The site was live for 60 minutes. All files were permanently deleted and nothing was kept. A copy already cached can keep opening for up to a minute; after that the address never resolves again.
You deleted this site
The files are destroyed and the hour is stopped. A copy already cached can keep opening for up to a minute; after that the address never resolves again.