Archive · .zip, .tar, .gz

Host a website from a .zip

Upload a zip website or a build folder such as dist, build or out, and anyshare unpacks it into a real site with working pages, links and assets.

Drop a .zip or a build folder

We unpack it and find your index.html

By uploading you agree to the Terms and Acceptable Use.

How a .zip becomes a website

When you upload a single .zip, anyshare unpacks it and looks for the home page. A root index.html wins. If everything sits inside one wrapping folder, the most common zip mistake, that folder is removed for you. If the zip is a whole project with a package.json, anyshare uses its build folder (dist, build, out, _site, .output/public or storybook-static) when there’s exactly one.

anyshare never runs your build. A Vite or Create React App project whose index.html still points at /src/main.tsx is source code, not a website: run npm run build first and upload the output. Clutter such as __MACOSX and .DS_Store is dropped.

Single-page apps work too. When the upload looks like one (a single index.html with an empty #root or #app element and a bundled script), unknown paths serve index.html, so client-side routes survive a refresh. The upload result tells you when that happened.

When it’s shared

What visitors get

ZIPs are unpacked into a website or a browsable folder; other archives get a download page. With an index.html inside, the zip is a website at its own address. Without one, it’s a tidy folder anyone can browse, with each file opening in its own viewer.

  • Relative links and assets just work
  • Clean URLs: /about finds about.html
  • Your own 404.html for missing pages
  • A browsable folder when there’s no index.html

How to

Publish a zipped site

  1. Step 1:

    Build it, if it needs building

    For a framework project, run its build (npm run build) so you have plain HTML, CSS and JavaScript. Hand-written sites can skip this.

  2. Step 2:

    Drop the zip or the folder

    Zip the output folder, or drop the folder itself: the uploader walks it file by file in your browser. Up to 50 MB and 1,000 files.

  3. Step 3:

    Check it, then share it

    Open the link to click through your pages, then send it. Push a new build to the same address later with the manage link or npx @anyshare/cli update <slug> ./dist.

The details

Built for real build output

  • Finds your home page

    A root index.html, a single wrapping folder, a known build folder, or the only HTML file in the upload, checked in that order. No settings to fill in.

  • Never executes your code

    No builds, no npm install, no server code. What you upload is what’s served, so a stray package.json can’t turn into a running app.

  • 1,000 files, 50 MB

    Enough for most static builds. If you’re over, you probably included node_modules or source maps; share the build folder only.

  • Secrets stay out

    When the CLI or the local MCP server zips a folder for you, it skips .env files, keys, .git and node_modules.

  • SPA-aware

    Client-side routers keep working on refresh when a single-page app is detected. Force it on or off with --spa in the CLI or spa in the API.

Other ways

Compared with the usual tools

Netlify Drop
Also takes a dragged folder, and with an account adds builds from Git, forms and functions. Better if the site will grow into a long-term project. Compare.
GitHub Pages
Hosts from a repository for free and for good, with custom domains. Better for a site you’ll keep; each change needs Git. Compare.

FAQ

Questions, answered.

My zip has a folder inside a folder. Will it still work?
Yes, as long as one folder wraps everything: anyshare strips it. If your index.html is buried deeper than that, re-zip from inside the folder that contains it.
Why do I see a list of files instead of my website?
There was no index.html at the top and more than one HTML file, or the upload was unbuilt source. Rename your home page to index.html, or build the project and upload dist/.
Can I upload a React, Vue or Svelte app as a zip?
Yes, the built version. Run the project’s build and upload its output folder, which is plain static files by then. anyshare won’t install packages or run your build for you.
What about .tar.gz, .7z or .rar files?
Only .zip archives are unpacked. ZIPs are unpacked into a website or a browsable folder; other archives get a download page.
How do I update the site without changing the link?
Publish the new build to the same address: npx @anyshare/cli update <slug> ./dist, a PUT request with your token, or the manage link you got after uploading. The URL stays the same.

Your next link is one drop away.

No signup, no setup. Drop it above and share it in seconds. Links last 1 hour; keep them 30 days with a free account.