Free · no sign-up
HTML to link, in one drop.
Drop an .html file or paste the code. Get a short link anyone can open, on a phone or a laptop, with its scripts and styles working.
One free link a day, up to 2 MB, for 24 hours. Want it for good, or a link like yourname.docpin.it/report? Sign in free.
✓ Your link is live
How it works
From HTML file to URL in seconds
An .html file is a web page that isn't on the web yet. This puts it there, so people click a link instead of downloading a file.
Add your HTML
Drop the .html file an AI tool or editor gave you, or paste the code straight in.
Get a short link
Something like docpin.it/7xQ2mLp9a. It opens the page full screen, scripts and all.
Send it, or keep it
The link works for 24 hours. Sign in free to keep it for good and update it later.
Ways to share an HTML file
How to share an HTML file so it opens
Most ways of sending an .html file make your reader do the work. A link is the only one that opens straight away, on a phone as well as a laptop.
| Way to share | What your reader sees | Good for |
|---|---|---|
| Email attachment | A file to download and open. Phones often can't, and images or scripts beside it go missing. | Sending the source to a developer |
| Google Drive, Dropbox or OneDrive | Usually the raw code, or a download button. Not the page. | Storing a copy |
| GitHub Pages or Netlify | The page, at a real address. | Developers putting a whole site online |
| HTML to link (this page) | The page, full screen, from a short link. Nothing to install or download. | Sending a page to someone in the next minute |
What people turn into links
One HTML file, many kinds of page
If it opens in a browser, it works as a link. These are the files people share most.
Pages from Claude or ChatGPT
Artifacts, canvases and code an AI wrote. Download the .html, or copy the code and paste it here.
Reports and dashboards
Exported reports and charts made with Chart.js, D3 or Plotly, with their interactivity intact.
Email templates
Show a client or teammate how a newsletter looks before it goes out, without sending a test.
Prototypes and mockups
A landing page or app screen from an editor, an AI builder or your own hand, to get quick feedback.
Proposals and one-pagers
A styled page reads better than a PDF, and opens on any phone.
Homework and portfolios
Hand in a web page, or show off something you built, without setting up hosting.
What works
What works in a free link, and what doesn't
Your file is served exactly as it is, on its own sandboxed address. A few things need a free account.
Works
- JavaScript, CSS and everything inside the file
- Libraries and fonts from a CDN, like Tailwind, Chart.js or Google Fonts
- Images from other websites, or built into the file
- Calls to public APIs
- Opening on phones, tablets and laptops
Needs a free account
- Images or files that sit next to the .html on your computer: upload the folder or a .zip
- Pages over 2 MB, or more than one link a day
- Changing the page after the link is made
- Keeping the link longer than 24 hours
- Pages with a password box
Free link or free account
Need it for more than a day?
A free DocPin account is still free, and adds what a quick link can't.
| You want to… | Free link, no sign-up | Free DocPin account |
|---|---|---|
| Share an HTML file as a link | YesOne a day | Yes3 pages, more on Pro |
| Keep it working | 24 hours | For good |
| A link with your name in it | Nodocpin.it/7xQ2mLp9a | Yesyourname.docpin.it/report |
| Update it behind the same link | No | YesEvery version kept |
| Folders, images and .zip files | NoOne .html, up to 2 MB | YesUp to 25 MB |
| Publish from Claude or ChatGPT | No | YesJust ask |
Questions
HTML to link, answered
How do I turn an HTML file into a link?
Drop the .html file on this page, or paste the code, and click Get my link. You get a short docpin.it link that opens the page in any browser, on any device.
Is it free? Do I need an account?
It's free and needs no account. You can make one free link a day, and it lasts 24 hours. Sign in free to keep it for good, update it, or publish more pages.
Does JavaScript work?
Yes. Scripts, styles, fonts and libraries from a CDN all work. The page runs on its own sandboxed address.
Can I change the page after I make the link?
Not on a free link. Keep it in a free DocPin account and you can upload new versions behind the same link.
What happens after 24 hours?
The link stops working, and the file is deleted within 2 days, unless you kept it in a free account first. Kept links work for good.
How do I share an HTML file with someone?
Turn it into a link and send that. Drop the file on this page, click Get my link, and paste the link into an email, chat or text. They tap it and see the page, with nothing to download.
Can people open the link on a phone?
Yes. The link opens the page in any browser, so it works on iPhone, Android, tablets and computers. An .html attachment, by contrast, often won't open on a phone at all.
Is the link private? Will it show up on Google?
Anyone you send the link to can open it, but free links are hidden from search engines and the address is random, so people can't find it by browsing. For a password or a page only certain people can open, use DocPin Pro.
Is this an HTML link generator?
Not quite. An HTML link generator writes the <a href> code for a link inside your page. This tool does the opposite: it puts your whole HTML page online and gives you the address to share.
Pages you send, on your own link
Free for 3 pages. Private pages, your own domain and more on Pro.