Flat / About
About Flat
Flat is a file publishing and static hosting service at getflat.dev. Publish files or a finished static site and share a link that opens in a browser.
Flat at a glance
- Product name
- Flat
- Official website
- https://getflat.dev
- Service
- File publishing and static hosting
- Publishing methods
- Browser uploader, command-line interface, and API
- Public links
- Visitors can open public links without a Flat account.
This page describes Flat at getflat.dev. Published files and websites remain their owners' content.
What you can do
- Publish individual files through the browser uploader.
- Publish folders with their relative file paths through the CLI.
- Publish files through the API from scripts and AI agents.
- View supported files in a browser, with access to the original files.
- Update a named address to point to a new upload.
- Connect your own domain to Flat.
- Set a visitor password through the CLI or API.
The publishing docs explain each workflow. The pricing page lists plan allowances and prices.
How files open
A site with a root index.html opens as a web page. One file without index.html opens in Flat's file viewer. Several files without index.html open in the file explorer.
Viewers support PDFs, images, text, source code, spreadsheet data, EPUBs, and browser-supported audio and video. Some documents use generated PDF previews. Unsupported files and files above preview limits retain access to the original file.
See file viewers and preview limits for current format details.
What Flat runs
Flat serves static files. HTML, CSS, and client-side JavaScript run in the visitor's browser. Build or export your site before publishing it.
Flat does not run your server code, database, or build process. Its file viewers do not provide Office editing or run spreadsheet formulas.
The browser uploader accepts individual files. Use the CLI for folders. Extract ZIP files on your device before publishing their contents.
Product references
- Publishing docs, including browser, CLI, and API instructions.
- @getflat/cli on npm, including installation and command reference.
- Pricing, including current plan limits.
- Changelog, for product updates.
Give your work a link.
Select your files, publish them, and share the link.
Publish your filesFree to start · View pricing