How to open local html files in safari on iphone

I have an html file that is opening fine in the files preview, but it seems like in the files preview it lacks the JavaScript i put there, so i need to open it via browser. When clicking share, i have options like open via edge or schrome, but all they say is "edge/chrome cannot handle this link", and i can only guess this is some security reason for the file:/// protocol? And there is no "open in Safari" option.

I have an IOS 18.5 iphone

iPhone 12 mini, iOS 18

Posted on Jul 21, 2025 9:48 AM

Reply
2 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to open local html files in safari on iphone

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.