HTML to website
This HTML to website tool puts an HTML file or a built folder online at one link. Drop it in, check that it runs, then publish.
What you get with the link
One link for every version
Your page gets its own address on second.page. While the page is live, later versions go to that same address, so nobody needs a new link after a change.
You decide who opens it
A new page starts as Restricted: only you and the people you invite by email. Open it to your organization or to anyone with the link when you are ready.
Comments on the page itself
People you let comment can pin a note to the exact element or sentence they mean, and replies stay together in a thread.
Earlier versions are kept
Each upload to the same page is a new version. Version history lists them, and you can restore an older one.
How to turn HTML into a website
- Drop an .html file or a folder on the box above, or paste your code into it.
- Look at the preview. It runs in your browser, and nothing has been uploaded yet.
- Choose Publish as a link, sign in or create a free account, pick who can open the page, and confirm. It goes online at its own link.
What the free plan covers
- The Starter plan costs $0
- Up to 250 files and 50 MB in one publish, with no file over 10 MB
- Each page stays live for 30 days
- The newest 50 versions of each page are kept
- 1 GB of storage across your pages and uploaded media
Larger sites and pages that stay live are on Pro. See pricing.
What you can publish
One HTML file
A single .html file with its CSS and JavaScript inside it, or the same thing pasted as code. A file over 2 MB is too big for this box, so upload that one from inside SecondPage.
A folder with its assets
A folder holding index.html and the styles, scripts, images and fonts it points to. Keep those paths relative and include every file the page uses.
The built output of an app
If your project has a build step, as React, Vue and Svelte projects do, run the build and drop the folder it made, often called dist or build. A source folder is turned away with a note saying so.
Limits to know first
- It hosts files, not a backend.
- A page published from here is HTML, CSS, JavaScript, images and fonts. SecondPage can also run a small server for a folder built as a SecondPage app, which is a beta that has to be on for your organization. Large framework servers such as Rails, Django or a Next.js server are not supported.
- The address is on second.page.
- It ends in a short random code, which keeps the link hard to guess. A link you word yourself, or your own domain, is part of a paid plan.
- Publishing needs an account.
- Dropping a file and checking the preview does not. Someone you send a page set to Anyone with the link can open it without signing in, and is asked to sign in before sending a comment.
- Zip files stay closed.
- Unzip first, then drop the folder. The box carries up to 2,000 files or 100 MB to sign-up, and your plan's own limits apply when you publish.
Questions
Is it free to host an HTML file here?
Yes. The Starter plan costs $0 and covers publishing from this page. A Starter page stays live for 30 days, and the Pro plan keeps pages live.
Can I turn HTML into a URL without signing up?
You can drop your file and see it run without an account. A URL needs one: choose Publish as a link, sign in or create a free account, and your page is waiting in the upload window.
Where is my file between the drop and the publish?
In your browser. After you choose Publish as a link it waits in this tab for up to an hour while you sign in, and it is uploaded only when you confirm in the upload window. Dependencies and hidden files such as .env are never read from a dropped folder.
Do I need a domain or a hosting account?
No. The page gets a second.page address when you publish. Connecting your own domain needs the Pro or Custom plan.
How do I change the website after it is live?
Open the page's version history in SecondPage and choose Upload new version, or drop the new file there. The link does not change, and the version it replaces stays in the history.
Still fixing the code?
The HTML viewer is this same box, written up for the step before: paste code, watch it run, and read the line number of whatever breaks.
Open the HTML viewer