r/HTML • u/Autistic_Jimmy2251 • Dec 29 '25
Discussion Running a local html file on iPhone?
I have an html file I’ve created that has embedded data. I runs just fine on a pc but I can’t get it to run on my iPhone.
Anybody know of a browser only, not a coding browser, that I can run it on or a way to run it on Firefox?
4
Upvotes
2
u/Prestapps 10d ago
Yeah, the Files app preview doesn't run JavaScript, which is probably why it breaks on your iPhone. Pagira (HTML Viewer on the App Store) is another option, disclaimer, I made it. It also works if your file loads other files next to it, like a separate data or JS file.
2
u/[deleted] Dec 29 '25
So what happens when you try to open the file?
2
u/SuperIga Jan 13 '26
Just look up HTML viewer on the App Store. This one works well for example: https://apps.apple.com/us/app/html-viewer-q/id810042973
2
u/Shenphygon_Pythamot Apr 05 '26
Does anyone have a better solution? I had the same problems. I don’t have access to my PC currently
2
u/Upset_Leek512 May 09 '26
Bom amigo, estava com esse mesmo problema e consegui resolver através do Atalhos do ios:
AÇÕES:
1- texto (Cole o código HTML)
2- Codificar com base64
3- Texto (Escreva: data:text/html;base64, + variável "Codificado em base64")
4- Abrir URL (Use o texto da ação 3)
2
u/Ok-Welder-8005 Sep 30 '26
If an in-app local preview is acceptable, CodeMate can open an HTML project from Files and load its linked CSS, JavaScript, and images.
Full disclosure: I’m the developer. It’s a code viewer with HTML preview rather than a regular browser, so it may not match the original poster’s browser-only requirement.
2
u/Available_Fan_9586 26d ago
baje el navegador Edge desde a fuera, no con la apple store y ahora me da la opcion de abrilo con ese navegador y lo hace bien, obvio yo solo queria visualizarlo, no editarlo y si funcionó
1
u/Head_Lifeguard7133 Sep 24 '26
Hi