Using a web browser (e.g., Safari, Chrome, etc.) can I view html pages that are stored locally on the iPad? The pages should render properly and execute Javascript/CSS properly.

  • 5
    Where are these files stored? May 15, 2013 at 16:18

5 Answers 5


Since the files are always local to the app in iOS. You can't open a html with apps like Safari and Chrome to load associated assets (js/images/css).

However, You could use apps like Documents to upload the folder and open in app browser (uiwebview).

Should work if the URL to assets in the html are relative.

  • As I read your answer, it's basically a no. You can't store documents and have the full browsers open them. Chrome, Safari, etc… due to sandboxing. Yes, most apps embed a less optimized web viewer based on the same framework / WebKit as Safari but without some javascript optimizations.
    – bmike
    Oct 11, 2013 at 14:13
  • Coda launches a local webserver and then opens your documents in the full browser. itunes.apple.com/us/app/coda/id500906297
    – vsp
    Jan 25, 2016 at 15:36

You can create Web Apps for offline viewing by adding them to the home screen. To do this the web page must be written using HTML5 Offline Application Cache. See the below link for further details.



I always use the GoodReader app to view the local html files. You can try it.


Atomic browser will work it out!

  • 2
    Thanks for your answer! Please add some more information so that the OP can clearly understand your answer.
    – daviesgeek
    Mar 29, 2014 at 20:21

If you want to run HTML, JavaScript and CSS on iOS then I suggest getting an app like Coffe Script at Once

  • 1
    One line answers with no links or explanations aren't what we're looking for on Ask Different; please enhance this answer with a link to the relevant app and an explanation to what that app does and why you recommend it.
    – owlswipe
    Nov 11, 2016 at 3:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .