How to deploy a Flutter web app for free, from build/web
Quick answer
To deploy a Flutter web app for free, run flutter build web and drop the build/web folder on Convika's upload screen. Convika serves it at its own address, such as my-app.convika.page, so the default base href of / works, .wasm files load as application/wasm, and path URLs open on reload. Sign up free, with no credit card and no Git.
Free plan: no credit card, 5 published pages, 10,000 page views a month.
On this page
To deploy a Flutter web app for free, run flutter build web and drop the build/web folder on Convika's upload screen. Convika serves it as a site at its own address, such as my-app.convika.page: index.html and flutter_bootstrap.js load from the root, the default <base href="/"> works as it is, and a .wasm file is sent as application/wasm. Send the link to a tester's phone in minutes. No Firebase project, no Git, and no credit card.
What to build, and the folder to drop
flutter build web compiles your Dart code and writes the app with its assets to build/web in the project. That folder is the app, and it is the only thing you upload.
| Your build | Build command | Folder to drop |
|---|---|---|
| JavaScript (the default) | flutter build web | build/web |
| WebAssembly with a JavaScript fallback | flutter build web --wasm | build/web |
Deploy a Flutter web app in 5 steps
1. Build the app
In the project folder, run:
flutter build web
Flutter prints "Compiling lib/main.dart for the Web..." and then the folder it wrote, build/web.
2. Sign up free
Sign up free, with no credit card. Convika opens the upload screen, Put your page or file online.
3. Drop the build/web folder
Drop web from build on Drop a file or folder here, or click Choose a folder. A .zip of the folder works too. Convika reads it in your browser and shows "Uploads as a site" with the number of files. Under Site URL, Convika offers a free name such as my-app.convika.page; type another to check it. Click Create my preview.
4. Check the private preview
Convika uploads the files and opens a private preview of the app. Tap through its screens on your phone and your computer, and reload on a screen other than the first.
5. Publish it
Click Publish page. Under Who can open this page?, choose Public and click Next. The first time, Convika shows Publish free, and under it Publish without the Convika bar, which starts Pro with its free trial: 7 days free, then $12 a month, cancel any time before it ends. To publish on Free, click Publish free. The app is live at my-app.convika.page.
Base href stays /
flutter build web writes <base href="/"> into index.html unless you pass --base-href. The app opens at the root of its own address, so build with the default: main.dart.js, flutter_bootstrap.js, assets/, and canvaskit/ all load from the root.
Hash URLs and path URLs both work
Flutter web's default URLs keep the route after a #, such as /#/settings, and a reload opens the app on that route. With usePathUrlStrategy(), the routes are real paths, such as /settings. A reload asks Convika for /settings, and Convika answers a path with no file extension that the app has no file for with index.html, so the app opens on that route too.
WebAssembly builds load as they should
flutter build web --wasm writes main.dart.wasm beside main.dart.js. Convika sends every .wasm file as application/wasm, so the browser compiles it as it downloads, and flutter_bootstrap.js picks the build the browser runs.
Update the app at the same link
Run flutter build web again. In Convika, open the app's page screen. Under Update from an HTML file, click Upload a new version and drop the new build/web folder, or its .zip. Click Upload as a new version, open the preview, then click Publish v2 at the same link and confirm with Publish. Testers keep the same link, and each earlier version keeps its own files, so you can go back to one.
What Free includes, and what Pro adds
| Free | Pro | |
|---|---|---|
| Price | No credit card | 7 days free, then $12 a month |
| Apps live at once | 5 | 100 |
| Page views a month | 10,000 | 100,000 |
| An app's files together | 100 MB | 5 GB |
| Who can open it | Public | Public, Private link, or Only people with the password |
| Convika bar | Yes | No |
A password or a private link keeps a beta for your testers only. Every app counts its visitors in your dashboard: where they came from and what they clicked.
Frequently asked questions
How do I deploy a Flutter web app for free?
Run flutter build web, then sign up free on Convika and drop the build/web folder on the upload screen. Click Create my preview, and publish with Publish page, Public, Next, and Publish free. The Free plan needs no credit card.
Which folder do I upload?
build/web in your Flutter project, the folder with index.html, flutter_bootstrap.js, and main.dart.js.
Do I need --base-href?
No. The app opens at the root of <name>.convika.page, so the default <base href="/"> is right.
Does a --wasm build work?
Yes. Convika serves main.dart.wasm as application/wasm, and flutter_bootstrap.js falls back to main.dart.js in a browser that can't run the WebAssembly build.
Does reloading a page of the app work?
Yes, with hash URLs and with usePathUrlStrategy(). Convika answers a route's path with index.html.
Do I need Firebase or Git?
No. Drop the folder or a .zip straight from your computer. No project to create, and nothing to push.
Next step
How to password protect an HTML page or website
A JavaScript password sits in the page source. Free: StatiCrypt or .htaccess. Paid: Netlify Pro $20, Vercel $20 a project, Tiiny Host $18, or Convika Pro.
Related articles
- How to deploy an Angular app for free, from dist/browserDeploy an Angular app free: run ng build, drop the browser folder from dist on Convika, and get a live app. Router paths open on reload with no rewrite rule.
- How to deploy a React app for free, from Vite or Create React AppDeploy a React app free: run npm run build, drop the dist or build folder on Convika, and get a live link. No Git, no card. Routing and image settings inside.
- How to host a Unity WebGL game for free, from its build folderHost a Unity WebGL game free: build for Web with Brotli or Gzip, drop the build folder on Convika, and get a link players open in the browser. No server setup.
- How to host a Godot web (HTML5) game for freeHost a Godot web game free: export for Web as index.html with Thread Support off, drop the folder on Convika, and get a link players open in the browser.
- ZIP to website: upload a .zip file and get a link that opens as a pageDrop a .zip with index.html, CSS, JavaScript, and images here and get a link in seconds, free. A whole site or a built app goes up as a site at its own address.
- How to host a website: the free way, step by stepPut your site's files on a host and point your domain at it. 3 ways compared, then the free route: upload to Convika, publish, and connect your own domain.
Skipbox
Cheap & fast GitHub Actions runners, unlimited for $39 a month
Your own machine keeps Docker layers and package caches between jobs. Switch by changing one runs-on line.
Start a free Skipbox trial