# Run p5js sketch as website locally on ipad

**URL:** <https://discourse.processing.org/t/run-p5js-sketch-as-website-locally-on-ipad/40122>\
**Category:** p5.js\
**Created:** [December 11, 2022, 8:01pm UTC](https://discourse.processing.org/t/run-p5js-sketch-as-website-locally-on-ipad/40122 "2022-12-11T20:01:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fleshcircuit](https://avatars.discourse-cdn.com/v4/letter/f/b3f665/32.png) [@fleshcircuit](https://discourse.processing.org/u/fleshcircuit)\
**Post date:** [December 11, 2022, 8:01pm UTC](https://discourse.processing.org/t/run-p5js-sketch-as-website-locally-on-ipad/40122/1 "2022-12-11T20:01:28Z")

</div>

Hello!

I have a forthcoming exhibition and I want to run some p5js sketches on iPads. Only issue is that I can’t access WiFi in the gallery, so I cannot use b editor (as suggested here: [Anyone had success with p5js on ipads?](https://discourse.processing.org/t/anyone-had-success-with-p5js-on-ipads/21323)). I am wondering if there is a way to run a website locally on an iPad, like when using a code editor on a desktop computer?

---

<div class="post-metadata">

**Author:** ![josephh](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/josephh/32/210_2.png) [@josephh](https://discourse.processing.org/u/josephh)\
**Post date:** [December 12, 2022, 9:00am UTC](https://discourse.processing.org/t/run-p5js-sketch-as-website-locally-on-ipad/40122/2 "2022-12-12T09:00:50Z")

</div>

Hi @fleshcircuit,

I found multiple threads about manually opening a .html file on IOS:

> <https://apple.stackexchange.com/questions/91398/view-local-html-files-using-web-browser-on-ipad>

> <https://stackoverflow.com/questions/67581426/how-to-open-a-local-html-file-in-safari-on-an-ipad>

> <https://apple.stackexchange.com/questions/249851/write-code-on-ipad-offline>
