How to open files from ChatGPT on iPhone
Quick answer
To open a file from ChatGPT on iPhone, save it to the Files app and open it by its type. An .html file runs as a page in Convika's free HTML viewer in Safari: tap Choose an .html file and pick it. A .jsx file runs in the free React viewer, and an .md file shows formatted in the HTML viewer. A PDF or an image opens with a tap in Files, and a Word, Excel, or PowerPoint file opens in a Quick Look preview or in its app. With no file at all, ask ChatGPT for the HTML code and paste it into the viewer.
Pro starts with a free trial: 7 days free, then $12 a month. Cancel any time before the trial ends.
On this page
To open a file from ChatGPT on iPhone, save it to the Files app, then open it by its type. An .html file runs as a page in Convika's free HTML viewer in Safari: tap Choose an .html file and pick it. A .jsx file runs in the free React viewer, and an .md file shows formatted in the HTML viewer. A PDF or an image opens with a tap in Files.
ChatGPT hands you a web page, a dashboard, a quiz, or a report as a file, and a tap on an iPhone opens only some of those as what they are. This guide gives the way to open each type, starting with the one that needs a browser: HTML.
What opens each file type on iPhone
| File from ChatGPT | Open it with | What you get |
|---|---|---|
.html (a web page, dashboard, quiz, or game) | Convika's HTML viewer in Safari: Choose an .html file | The page, with its CSS and JavaScript running |
.jsx or .tsx (a React app) | Convika's React viewer in Safari: Open file | The running app |
.md (a Markdown document: notes, a report, a README) | Convika's HTML viewer in Safari: Choose an .html file | The document, with its headings, lists, and tables formatted |
| HTML code in the chat, with no file | The HTML viewer: Paste code, then Show the page | The page, running |
| PDF or image | A tap in Files | The file, in a Quick Look preview |
| Word, Excel, PowerPoint, or CSV | A tap in Files, or Open With | A Quick Look preview, or the file in its app |
A link that starts with sandbox:/mnt/data/, or “File Not Found” | A new file from ChatGPT | See ChatGPT “File Not Found” or expired file link |
Apple's Files guide for iPhone, read on November 22, 2026, gives the rule behind the last rows of file types: “You can preview an image file or a PDF in Quick Look,” and “If you haven’t installed the app that created a file, a preview of the file opens in Quick Look.” To choose the app yourself, Apple says: “Touch and hold the file you want to open. Choose Open With from the menu, then choose an option.”
Open an HTML file from ChatGPT on iPhone in 3 steps
An HTML file is a web page, and it needs a browser to run. Tapped in Files, it opens in a Quick Look preview, which ran no JavaScript in our iOS 26.3 test: a dashboard's charts stay empty and a quiz's buttons do nothing. In Safari, through the viewer, the page runs.
1. Save the file to Files
Download the file from the chat and save it to the Files app. Apple's downloads guide says where a download lands: in Files, tap Browse, then “tap the Downloads folder to see your downloaded files.” If the folder isn't on the Browse screen, Apple says to tap iCloud Drive.
2. Open Convika's HTML viewer in Safari
Go to convika.com/tools/html-viewer in Safari. It's free and needs no account.
3. Tap "Choose an .html file" and pick the file
Tap Choose an .html file, then pick the file in the Files sheet. The page appears with its CSS and JavaScript running: tap its buttons, switch its tabs, fill in its fields. The viewer opens .html, .htm, and .md files up to 2 MB, and the file stays in your browser.
Open the page with no file at all
An HTML page is text, so the code in the chat is enough. Paste this into the same chat:
Show the whole page as HTML in one code block, from <!DOCTYPE html> to </html>, with the CSS and JavaScript inside it.
OpenAI's code block help, read on November 22, 2026, says “ChatGPT usually places code in a code block,” and lists Copy the code among a block's actions. Copy the block, open the HTML viewer in Safari, tap Paste code, paste, and tap Show the page.
This route also opens a page whose download link has stopped working. OpenAI's troubleshooting page lists “Download failed” and “File Not Found” as errors on file links ChatGPT generated, with the check “files generated by ChatGPT expire quickly.” The code in the chat stays.
OpenAI's code block help adds: “For supported code blocks, select Preview to view the result inside ChatGPT,” and lists HTML pages and React components among the previews. The viewer shows the same page in Safari at full size, and from there it becomes a link you can send.
Open a React (.jsx) file from ChatGPT
A .jsx or .tsx file is a React component, the code of an app. Open convika.com/tools/react-viewer in Safari, tap Open file, then Choose a .jsx or .tsx file, and pick it. The viewer compiles the component in your browser and runs the app. With the code in the chat instead of a file, tap Paste code, paste it, and tap Run the code. How to open a JSX file has the steps for each device.
Open a Markdown (.md) file from ChatGPT
An .md file is a Markdown document, and opened as text it shows its # and ** symbols. Open convika.com/tools/html-viewer in Safari, tap Choose an .html file, and pick the .md file: the button takes .md files too, and the document shows with its headings, lists, and tables formatted. How to open an .md file from Claude or ChatGPT has the steps for each device.
Find a ChatGPT file again
OpenAI's Library help, read on November 22, 2026, says: “The files you upload to and create in ChatGPT are saved to your Library, so you can find and reuse them later. Library is available on web.” There, “You can download files by selecting one or more files in Library and clicking the Download button.” Open chatgpt.com in Safari to use it. If your account shows Space, OpenAI says “Space takes the place of Library.”
For a link that says “File Not Found”, does nothing, or starts with sandbox:/mnt/data/, ChatGPT “File Not Found” or expired file link covers each case.
Send the page as a link
A page that opens for you in the viewer opens for everyone as a link. They tap it in Messages or WhatsApp, Safari opens the page, and its buttons work.
- Open Convika's free HTML publishing tool in Safari, and choose the file or paste the code. You get a preview link in seconds, without an account. It works for 3 minutes, with scripts and forms off.
- Tap Keep this page — free, no card and sign up. The page moves into your account, and its scripts run in the dashboard preview.
- Tap Publish page. Under Who can open this page?, choose Public and tap Next. The first time you publish, Convika shows Publish free, and under it Publish without the Convika bar, which starts Pro with its free trial: 7 days free, then $12 a month, and you can cancel any time before the trial ends. To publish on Free, tap Publish free.
- Copy the address, such as
yourpage.convika.page, and paste it into the chat or the email.
The Free plan includes 1 published page and 10,000 page views a month, and the dashboard shows how many people opened the page. How to publish HTML from ChatGPT covers your own domain and a form that keeps what people send.
Frequently asked questions
How do I open files from ChatGPT on iPhone?
Save the file to the Files app, then open it by type. For an .html file, open convika.com/tools/html-viewer in Safari and tap Choose an .html file: the page runs with its CSS and JavaScript. A PDF or an image opens with a tap in Files. A Word, Excel, or PowerPoint file opens in a Quick Look preview or, with Open With, in its app.
How do I open an HTML file from ChatGPT?
Open Convika's free HTML viewer in your browser, choose Open file, and pick the .html file. The page runs with its CSS and JavaScript, on a phone or a computer, with no account. With no file, ask ChatGPT for the code in one code block, copy it, choose Paste code, and tap Show the page.
How do I open a sandbox file from ChatGPT?
A link that starts with sandbox:/mnt/data/ is not a web address, so Safari opens nothing from it. Ask ChatGPT in the same chat for a new download link, or, for a web page, for the HTML in one code block, and paste that into the HTML viewer. ChatGPT “File Not Found” or expired file link has the test and the steps.
Why is my ChatGPT file download not working?
OpenAI lists “Download failed” and “File Not Found” as errors on file links ChatGPT generated, and one of its checks is that “files generated by ChatGPT expire quickly.” Ask ChatGPT to make the file again and download it at once. For a web page, ask for the HTML code instead and paste it into the HTML viewer: code in the chat doesn't depend on a download link.
Where do ChatGPT downloads go on iPhone?
Into the Files app. Apple's iPhone guide says to open Files, tap Browse, and tap the Downloads folder, and to tap iCloud Drive if the folder isn't on the Browse screen.
Why does my HTML file from ChatGPT show a page that does nothing on iPhone?
Tapping the file in Files opens a Quick Look preview, not Safari, and that preview ran no JavaScript in our iOS 26.3 test. Open convika.com/tools/html-viewer in Safari, tap Choose an .html file, and pick the same file: the page's scripts run.
Is my file uploaded when I open it in the viewer?
No. Your browser reads the file on your iPhone, and it never reaches Convika's servers. Convika receives the page only when you tap Get a link by uploading this page.
Sources
- Find and view files and folders in Files on iPhone (Apple, iPhone User Guide) (read November 22, 2026)
- Find your downloaded files on iPhone (Apple, iPhone User Guide) (read November 22, 2026)
- Using Library to manage files in ChatGPT (OpenAI) (read November 22, 2026)
- Working with writing blocks and code blocks in ChatGPT (OpenAI) (read November 22, 2026)
- Troubleshooting ChatGPT Error Messages (OpenAI) (read November 22, 2026)
Next step
How to password protect an HTML page or website
A JavaScript password script leaves the password in the page source. To password protect an HTML page or link, encrypt the file or let a server check it.
Related articles
- How to open an HTML file on iPhoneOpen an HTML file on iPhone in 3 steps: save it to Files, open a free HTML viewer in Safari, tap Choose an .html file. It runs with CSS and JavaScript.
- ChatGPT says “File Not Found” or the file expired: how to get your fileFiles ChatGPT makes “expire quickly,” OpenAI says. What “File Not Found” and sandbox:/mnt/data links mean, how to get the file again, and the HTML fix.
- ChatGPT, Claude, or Gemini gave me HTML code: how do I run it and see the page?To run HTML code from ChatGPT, Claude, or Gemini, paste the whole code block into a free HTML viewer and it runs in your browser. Or save it as an .html file.
- How to publish or share an HTML page from ChatGPT as a live website, freeHosting for HTML from ChatGPT: compare Convika, Netlify Drop, GitHub Pages, Cloudflare Pages, Tiiny Host, and ChatGPT Sites on free limits, domains, and forms.
- file://error_page_loaded.html, code, or a blank page: how to open your HTML filefile://error_page_loaded.html is what Chrome on an iPhone or iPad shows when a page didn't load. Open your HTML file in a free viewer in a few taps.
- How to make an HTML file on your iPhone or Android phoneNotes and Messages keep HTML code as text, not a page. Run the code in a free viewer, get a link, or save a real .html file on iPhone or Android.
Skipbox
Cheap & fast GitHub Actions runners, unlimited for $39 a month
Your own machine keeps Docker layers and package caches between jobs. Switch by changing one runs-on line.
Start a free Skipbox trial