
Put your site online, free
Neocities and GitHub Pages in plain steps. About five minutes, no money, no code to install.
Runs in your browser. Nothing you make is uploaded.
You've made a website on your computer (maybe with our homepage maker or a template). These steps put it on the internet for free, with its own address you can share. They take about five minutes.
1. Get your files ready
- Unzip your download, so you have a normal folder.
- Check that the folder has a file called
index.html. That's the page people see first. Every host looks for this exact name. - Open
index.htmlin your browser. If it looks right there, it will look right online. - Use simple file names: lowercase, no spaces (use
my-cat.png, notMy Cat.PNG).
2. Neocities (easiest)
- Go to neocities.org and make a free account. The site name you choose becomes your address:
yourname.neocities.org. - After you sign up, open your dashboard (it's called Edit Site). You'll see a starter
index.htmlthat Neocities made for you. - Open your site's folder on your computer, select everything inside it (all the files and folders), and drag them onto the dashboard. If your browser won't drag folders, use New Folder on the dashboard to make each folder with the same name, open it, and upload its files there.
- When it asks, let your
index.htmlreplace the starter one. - Visit
https://yourname.neocities.org/. Your site is live.
To change something later, click a file's Edit button on the dashboard and type, or upload a new copy of the file. Neocities' own tutorials teach HTML and CSS from the start.
3. GitHub Pages
- Make a free account at github.com.
- Make a new repository (the + menu, then New repository). For your main site, name it
yourname.github.io, using your exact GitHub username. Leave it public. - On the new repository's page, choose uploading an existing file, drag in everything from your site's folder, and press Commit changes.
- Open the repository's Settings, then Pages. Under “Build and deployment”, pick Deploy from a branch, the main branch and the / (root) folder, and save.
- Wait a minute or two, then visit
https://yourname.github.io/. GitHub's own Pages documentation covers custom domains and more.
4. After it's online
- Share your address with friends, or put it in your social bios.
- Make a button so other sites can link to you: 88×31 button maker, blinkie maker.
- Dress it up with a tiled background, a gradient, pixel borders, a custom scrollbar or a custom cursor.
- Keep a copy of your folder on your computer. It's your backup.
5. More for webmakers
Places we like but don't copy, because the work is theirs to share:
- 98.css, XP.css and 7.css: styles that look like old Windows.
- The 88×31 button archive: thousands of old-web buttons. The archivist asks you to copy buttons to your own site rather than link to them directly.
- sadgrl.online: guides and tools for building a personal site, by the maker of the layout in our gallery.
- HTML5 UP: all of AJ's templates (we host five of them).
Questions
Which should I pick, Neocities or GitHub Pages?
Neocities if you want the easiest start: you drag files into your browser and there's a friendly community of personal sites. GitHub Pages if you already use GitHub or want version history. Both are free for a personal site.
Do I need my own domain name?
No. You get a free address (yourname.neocities.org or yourname.github.io). You can add your own domain later if you buy one.
What can't I put on a free host?
Each host has rules: read Neocities' terms and GitHub's Pages limits before you upload. In short: no illegal content, nothing that isn't yours to share, and GitHub Pages isn't for running a shop or a big commercial service.
My page shows but the pictures or style don't. Why?
Almost always a file name or folder problem. Names are case-sensitive online: Cat.PNG isn't cat.png. Keep the folders exactly as they were in the ZIP, and check the names in your HTML match.
Can I make my site private?
No: these are public websites. Don't put anything on them you wouldn't want strangers to read, such as your full name, address or school.
