Simple & Fast

Turn your HTML into a shareable link

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.

Create my link See how it works

gpt2link
HTML 0 B / 10 MB

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"
Preview — not published yet Ready
Provisioning
https://
This link has expired
You deleted this link

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

From HTML code to a link anyone can open.

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.

Add your page.

Paste the HTML code from ChatGPT or another AI, or upload one .html or .htm file.

Preview it online.

Check the page in your browser before you share it. No coding knowledge needed.

Share one link.

Create a temporary public link and send it to a friend, client, teammate, classmate, or anyone else.

How it works

Turn HTML into a shareable link in four easy steps.

  1. Get the HTML

    Ask ChatGPT or another AI to give you the page as one complete HTML file.

  2. Add your page

    Paste the code or upload the .html or .htm file.

  3. Check the preview

    Make sure the page looks right before you create the public link.

  4. Create and share

    Create the link and send it. Anyone with the link can open the page for up to 60 minutes.

Made for the AI era

AI makes pages instantly.
Now share them instantly.

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

Built for the things that don’t need a deployment.

Client previews, prototypes, experiments.

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>

One file.
Anywhere.

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.”

Finley Evans
Frontend Engineer

“The fastest way to turn an AI-generated page into something I can actually send.”

Maya Chen
AI Builder

“Great for sharing a prototype without creating a project just to host one file.”

Parker Diaz
Product Designer

FAQ

Everything you need to know.

What does gpt2link actually do?

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.

Do I need Git, Vercel, Netlify, or a server?

No. The point is to make one-page sharing simpler than a normal deployment workflow.

How long does the link stay up?

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.

Can CSS and JavaScript work?

Inline CSS and JavaScript can be included in the HTML document. External assets need to be reachable from the browser.

Is this useful for AI-generated pages?

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.

Make your HTML shareable.

Paste it. Preview it. Publish it. Send one link.

Create a link