How to Run JavaScript, TypeScript and React on iPhone
Short answer: you can write and run JavaScript on an iPhone or iPad with JavaScript Editor: JS IDE. Tap Run and your code executes on the device, with a console for logs, warnings and errors. It also runs TypeScript and React (JSX) with a live preview.
What it can do
Run JavaScript and read the console output.
Render React components from JSX in a preview pane under the editor, with one-tap CSS editing and a fullscreen mode.
TypeScript and TSX: types are stripped before your code runs, so there is no build step.
npm packages: import by name with a normal import statement. No terminal, no install, no config file.
Multi-file projects: split a project across files and folders and import between them.
Publish to the web: turn a project into a link that opens in any browser.
Open and save.js and .jsx files with the Files app.
Who it suits
Web developers testing an idea away from a laptop, students learning JavaScript, and anyone practising for a coding interview.
FAQ
Can I use npm packages on an iPhone? Yes, imports resolve when you run.
Do I need a build step for TypeScript? No, TypeScript runs directly.
Can I share what I build? Yes, publish it to a link.
We use cookies and similar technologies to enhance your browsing experience, analyze site traffic, and personalize content and ads. By clicking "Accept", you consent to our use of cookies. Learn more in our Privacy Policy.
~/cosmovex/home.md · rendered with Markdown Editor & MD Viewer
A Markdown editor good enough to write its own homepage.
This page is a Markdown document. You're reading the rendered preview — press or hit if you don't believe it. That round trip — plain text in, a clean document out — is what Markdown Editor & MD Viewer does on your Android phone. Free, offline, no account.
markdown Live Server — 2 editors, 1 file
# Two cursors, one documentMy phone is hosting this file over Wi-Fi,and my desktop is ed> nothing leaves the device — it's your Wi-Fi, your file
Yes — Markdown Editor & MD Viewer is free on Google Play. It gives you a split-view editor with live preview, syntax highlighting, and HTML/PDF export, and it works fully offline with no account.
Can I edit Markdown from my phone on a desktop browser?
Markdown Editor & MD Viewer includes a Live Server: your phone hosts the document over Wi-Fi and you edit it from any desktop browser with two-way live sync. The file never leaves your device.
Can I make Mermaid diagrams on Android?
Yes — the built-in Mermaid Studio turns plain text into flowcharts, sequence and class diagrams, with pan/zoom and SVG export, right on your phone.
Can I turn Markdown into slides or a PDF on my phone?
Presentation Mode turns any Markdown document into a fullscreen slide deck, and export produces styled HTML or print-ready PDF — all generated on-device.