Open an HTML app on iPhone or Android and add it to the home screen
How do I open an HTML file on my phone? Publish it here and open the link on the phone. Your app runs in the phone's browser, so there is no store and nothing to install.
How to open an HTML app on your phone in 3 steps
- Publish the app. Copy the instruction below into Claude Code, Codex, Cursor or any other coding agent and ask it to publish. Try the draft, then tell it to publish.
- Send yourself the link.
- Open it on the phone.
No coding agent? Open Publish an app and choose With files I have to drop in an HTML file, or With a chat to paste the code a chat gave you.
Each new app is checked before it goes public.
Fetch https://alittle.app/agent-setup/prompt.md and do what it says.Add it to the home screen
Phone browsers can add any website to the home screen. Your app then opens with one tap.
- iPhone and iPad: in Safari, tap Share, then Add to Home Screen.
- Android: in Chrome, open the menu, then Add to Home screen.
What opening your app on a phone includes
- One link that works on iPhone and Android alike.
- No account needed to open it.
- What the person does is kept between visits, and follows them once they sign in.
- Publish again and the same link shows the new version, so the phone gets the update without doing anything.
- A link that stays up, with free hosting.
Play HTML games on iPhone and Android
If an AI made you a game or a little tool, ask it for the whole thing as one HTML file and publish that. Send the link to your friends. They tap it and start playing, with no Claude or ChatGPT account.
Made it in Claude? See Publish a Claude artifact.
Questions about opening HTML on a phone
Can I open an HTML file on my iPhone?
Yes, as a link. Publish the file, then open the link in Safari or any iPhone browser.
Why isn't my HTML file opening on my iPhone?
A file on its own often shows as a preview and does not run. A link opens in the browser, where it runs.
Can I open an HTML file on Android?
Yes. The same link opens in Chrome or any Android browser.
Is there an HTML viewer app for iPhone?
You do not need one. Your phone's browser opens the link.
How do I put an HTML file on an iPhone home screen?
Publish it, open the link in Safari, tap Share, then Add to Home Screen.
Can you play HTML games on mobile?
Yes. Publish the game and open its link on iPhone or Android. Progress the game saves with localStorage is kept between visits.
How do I turn an HTML file into an app?
Publish it here and add the link to your home screen. It opens with one tap, like an app.
Does it work on an iPad?
Yes. The link opens in the iPad's browser, and you add it to the home screen the same way as on iPhone.
More help
- Free HTML hosting: put your HTML file online and get a link
- HTML to link: turn an HTML file into a link you can send
- Publish a Claude artifact: a public link anyone can open
- Hide your API key: call an AI model from an HTML or JavaScript app with no key
- How do I keep the data in an app I made with AI?
- How can my friends or family use my app together?
Updated November 16, 2026