How to open an HTML file on an OPPO, realme, or OnePlus phone
Quick answer
On an OPPO, realme, or OnePlus phone, open a downloaded .html file from My Files: tap it and choose Chrome if the phone asks which app to use. Chrome ran the page's scripts in our Android 16 emulator test, not on these phones. If another app opens it or no browser is offered, use a free HTML viewer in Chrome.
Free plan: no credit card, 1 published page.
On this page
- What happens when you tap an .html file on an OPPO phone
- Open an HTML file on an OPPO phone in 4 steps
- Choose Chrome as your default browser on OPPO, realme, or OnePlus
- Ways to open it on an OPPO phone, compared
- Why it shows code or a blank page
- Send a page that opens on any phone
- Frequently asked questions
- Sources
A teacher emails a quiz made with ChatGPT. A friend sends a Claude game on WhatsApp. You tap the .html file on your OPPO, realme, or OnePlus phone and get a screen of code, a page whose buttons do nothing, or a list of apps to choose from. This page covers what the three brands' own help says about it: where My Files keeps the file, the list of apps a tap brings up, and how to make Chrome your browser. OPPO phones run ColorOS, realme phones run realme UI, and OnePlus phones run OxygenOS. OnePlus's OxygenOS 16 manual describes My Files in the same words as OPPO's ColorOS 16 manual, and realme's help names the same app. Android's own steps and our full test are in How to open an HTML file on Android.
The OPPO, realme, and OnePlus help pages quoted here were read on November 6, 2026. Our device test ran in Google's Android emulator, not on an OPPO, realme, or OnePlus phone, so a label on yours may differ.
The quickest way on an OPPO phone: open Convika's free HTML viewer in Chrome, tap Choose an .html file, and pick the file from your downloads. Your browser reads the file, and it isn't uploaded. If someone sent you a file you weren't expecting, ask them first, and turn off Run scripts before you choose it.
Sending a page you made? The upload box at the top of this page turns your file into a preview link without an account. That preview runs no scripts, so a quiz or game won't respond there yet: it's for checking the layout on your own phone. Click Keep this page — free, no card and sign up, and the page moves into your account, where its scripts run and you can publish it.
What happens when you tap an .html file on an OPPO phone
OPPO's help doesn't say for an .html file. For a PDF, it describes the moment, on ColorOS 7 and above: in File Manager, under Documents, "Select the PDF file that you want to view > Choose an application you want to use as a default PDF viewer > Enable [Don't ask again]." So, for a PDF at least, choosing the file brings up a list of apps with a Don't ask again option. The realme and OnePlus help we read doesn't describe that list.
We tested a tap in Android's own Files app, not on an OPPO phone, on October 21 and 22, 2026, on Android 16 in Google's Android Emulator, with Chrome 133. Android's own Files app showed Open with, listing Chrome and HTML Viewer, with Just once and Always under them:
- Chrome ran the whole page: its script, its button, a web font, and an image from the web.
- HTML Viewer showed the text and the CSS written inside the file. It ran no JavaScript, so the button did nothing, and it loaded nothing from the web.
Pick a browser, and don't make an app the default unless it's a browser. On Android, Always makes that app open every .html file without asking, and OPPO's help uses Don't ask again to make an app the default viewer for a PDF. The emulator has no My Files, so we didn't see which apps it lists for an .html file.
Which browser. None of the OPPO, realme, or OnePlus help we read says which browser a new phone comes with. realme's steps for choosing one end with "Google Chrome". If your phone lists Chrome, it's the browser we saw run the page.
Open an HTML file on an OPPO phone in 4 steps
These steps open the file in Chrome, where its scripts run. Nothing is uploaded.
1. Save the file to your phone
In Gmail, open the email and tap Download, as Gmail's Android help describes; OPPO's help says Gmail is in the Google folder on the Home screen. In WhatsApp or another chat app, use that app's own save button; we didn't test those apps, so a button's name may differ. When a file comes from another OPPO phone with OPPO Share, OPPO's steps say "Tap [View] to open the file", and "The first time you use the OPPO Share feature, you'll be asked which application you want to use to open the file sent."
2. Find it in My Files
Open My Files. OPPO's help calls it File Manager on ColorOS 11 and earlier, and some of its articles name it Files. Then use one of these, as the help describes them:
- Recents. OPPO's ColorOS 16 manual: "Tap Recents to switch to the Recents view, where the files added in the last 30 days will be displayed in chronological order".
- Sources, on realme. realme's help for files "downloaded or received by the browser/bluetooth": "My Files > Sources > Download (Bluetooth or realme Share)".
- Search. If the file isn't there, "Search by file names in the search bar located at the top of the Home page", as OPPO's ColorOS 16 manual puts it.
3. Open it with Chrome
Tap the file; don't touch and hold it. OPPO's manual uses touch and hold to select, as in My Files ("touch and hold the file, and tap More > Set as private") and in Photos ("tap a photo or video, or touch and hold to select multiple photos and videos"). If your phone asks which app to use, choose Chrome, as in our emulator test. If the list has a Don't ask again option, as OPPO's steps for a PDF show, leave it off unless you want Chrome to open such files every time. In our emulator test, the page opened in Chrome with its scripts running, at an address that points into the phone.
If the file opens straight into an app that shows code, or into a page that doesn't respond, that app may be set to open such files. Clear it, then tap the file again and choose Chrome. OPPO's steps, written for a PDF viewer: "[Settings] > [App management] > [App list] > Look for the application you chose as a default PDF file viewer > [Open by default] > [Clear defaults]." OPPO doesn't give these steps for an .html file, and we didn't test them.
4. If no browser is offered, use the HTML viewer
Open the HTML viewer in Chrome and tap Choose an .html file. In our emulator test, the file picker opened on Recent, which was empty: open the menu at the top left, choose Downloads, and tap the file. OPPO doesn't describe this picker, so a label on your phone may differ. The viewer opens .html and .htm files up to 2 MB, and your browser reads them on the phone. Don't open a file you weren't expecting: ask the sender first, and turn off Run scripts before you choose it.
If the code came to you as text in a chat or an email, choose Paste code in the viewer instead, paste it, and tap Show the page.
Choose Chrome as your default browser on OPPO, realme, or OnePlus
OPPO's steps, for ColorOS 11 and above: "Go to [Settings] > [App management] > [Default apps] > [Default browser app], and then tap your preferred browser." OPPO's ColorOS 16 manual names the menu Settings > Apps > Default apps, and so does OnePlus's OxygenOS 16 manual. realme's steps, for realme UI 3.0 and above: "Settings > Apps > Default apps > Select the browser > Google Chrome".
- What it changes. None of the three says whether My Files follows this setting for a saved
.htmlfile. In the ColorOS 16 and OxygenOS 16 manuals, Default apps sets an app "for opening TXT, PDF, Word, Excel, and PPT files"; HTML isn't in that list. - If Chrome isn't listed. Install it from Google Play, then come back to Default apps. OPPO's help doesn't say whether Chrome comes on the phone.
- If you turned on Don't ask again. The file then opens in that app without asking. OPPO's way back is Open by default > Clear defaults for that app, as in step 3; it's written for a PDF viewer, and we didn't test it.
Whatever app is set, the HTML viewer works the same way. It's a web page you open in Chrome, so the file never goes to the app your phone picks.
Ways to open it on an OPPO phone, compared
| Way to open it | What you need | Scripts run | Who sees the page |
|---|---|---|---|
| My Files, tap it, choose Chrome | Chrome | Yes, in our Android 16 emulator test (in Android's Files app, not My Files) | Only you |
| My Files, tap it, choose another app from the list | That app | Not tested; OPPO doesn't say | Only you |
| Tap it, choose HTML Viewer | Nothing extra on the emulator | No, in the same test | Only you |
| Choose it in Convika's HTML viewer in Chrome | No app: it's a web page | Yes, unless you turn off Run scripts | Only you, on that phone |
| Tap a link from the sender | Nothing | Yes, if the host runs them; a published Convika page does | Everyone with the link, on any phone or computer |
Why it shows code or a blank page
An app that shows the code is reading the file as plain text, not as a page; open it in Chrome instead. A page that looks right but doesn't respond was opened by an app that runs no scripts, as HTML Viewer did in our test. Missing pictures and styles usually mean that files saved next to the .html file didn't come with it. Why does my HTML file open as code (or a blank page)? checks each cause, and How to play an HTML game on your phone covers a game that opens but won't play.
Send a page that opens on any phone
If you're the sender, a link saves the other person every step above. They tap it in Gmail, WhatsApp, or Messages, the phone's browser opens the page, and its buttons work, on an OPPO, a Galaxy, or an iPhone.
With Convika:
- Drop your file into the upload box at the top of this page, or paste the code, and click Get my preview link. You get a link in seconds, without an account. It works for 3 minutes, with scripts and forms off, so it's for checking your page, not for sending.
- Click Keep this page — free, no card and sign up. The page moves into your account, and its scripts run in the dashboard preview.
- Click Publish page. Under Who can open this page?, choose Public and click Next. The first time, click Publish free: the page goes live with a small Convika bar at the bottom. Under it, Publish without the Convika bar opens an order for Pro monthly ($12 a month, after a free 1-day trial with a card).
- Copy the page's address, such as
yourpage.convika.page, and paste it into the chat or the email instead of the file.
On Free, the page is published as Public: anyone with the link can open it, and it may show up in search results and in Convika's gallery. 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 send an HTML page on WhatsApp covers the sender's side in a chat, and How to share an HTML file as a link compares other free hosts. On other Android phones, see the Samsung guide and the Xiaomi guide.
Frequently asked questions
How do I open an HTML file on my OPPO phone?
Open My Files and find the file under Recents, or search for its name. Tap it and choose Chrome if the phone asks which app to use: in our Android 16 emulator test, Chrome ran the page's scripts. If no browser is offered, open Convika's free HTML viewer in Chrome and tap Choose an .html file. If someone sent you a file you weren't expecting, ask them first, and turn off Run scripts before you choose it. We didn't test a real OPPO, realme, or OnePlus phone.
Where do downloaded files go on an OPPO or realme phone?
Into My Files. For files "downloaded or received by the browser/bluetooth", realme's help says "My Files > Sources > Download (Bluetooth or realme Share)", so on a realme phone, look under Sources in My Files. OPPO's ColorOS 16 manual says Recents in My Files shows "the files added in the last 30 days", and you can search by file name at the top of its Home page. The OPPO help we read doesn't name a downloads folder.
How do I make Chrome open HTML files on OPPO?
For one file, tap it in My Files and choose Chrome when the phone asks. To make Chrome your browser, OPPO's route is Settings > App management > Default apps > Default browser app (on ColorOS 16, Settings > Apps > Default apps). OPPO doesn't say whether My Files follows that setting for a saved file. If another app opens the file without asking, clear that app's defaults under Open by default, as OPPO's help describes for a PDF viewer.
How do I open an HTML file on a OnePlus phone?
The same way as on an OPPO phone. OnePlus's OxygenOS 16 manual describes My Files in the same words as OPPO's ColorOS 16 manual, with Recents and search, and the same Settings > Apps > Default apps screen. We found no article in OnePlus's help center on opening a file or on where downloads go. Tap the file in My Files and choose Chrome, or use the HTML viewer in Chrome. We didn't test a OnePlus phone.
Why does my HTML file show code on my OPPO or realme phone?
The app that opened it is reading the file as plain text instead of running it as a page. A browser is what turns HTML into a page. If that app opens the file every time, clear its defaults under Open by default (OPPO's steps for a PDF viewer), tap the file again in My Files, and choose Chrome. Or paste the code into Paste code in an HTML viewer and tap Show the page. If the sender can give you a link instead, that opens straight in your browser.
How do I send an HTML file so it opens on an OPPO phone?
Send a link to the published page, not the file. Put the file on a host that runs its scripts, then paste the address into the chat or the email. With Convika, the upload box makes a preview link without an account, with scripts off, for checking the layout. Keep the page on the Free plan and publish it, and the link opens in any phone's browser with its buttons working.
Sources
- ColorOS 16.0 User Manual (OPPO, PDF) (update time January 8, 2026; checked November 6, 2026)
- How to Search Files Using the File Manager on OPPO Phones (OPPO) (no date on the page; checked November 6, 2026)
- Where to Find Screen Recording Files on OPPO Phones (OPPO) (no date on the page; checked November 6, 2026)
- How to Change Default PDF Viewer on OPPO Phone (OPPO) (no date on the page; checked November 6, 2026)
- How to Set or Change the Default Browser in Android Devices (OPPO) (no date on the page; checked November 6, 2026)
- How to Transfer Files Using OPPO Share (OPPO) (no date on the page; checked November 6, 2026)
- How to Use the Gmail App on Your OPPO Phone (OPPO) (no date on the page; checked November 6, 2026)
- How to view the files downloaded or received by the browser/bluetooth (realme India) (updated December 2, 2024; checked November 6, 2026)
- How to set Google Chrome as the default browser (realme India) (updated February 28, 2025; checked November 6, 2026)
- OxygenOS 16 User Manual (OnePlus, PDF) (update time October 31, 2025; checked November 6, 2026)
- Open & download attachments in Gmail, Android (Gmail Help) (checked November 6, 2026)
Next step
How to password protect an HTML page without code, on your own domain
JavaScript passwords sit in the page code. Put an HTML page from ChatGPT or Claude behind a server-checked password on your own domain.
Related articles
- How do I open an HTML file in Chrome mobile on Android, and send one that opens?Open an HTML file in Chrome mobile on Android: tap it in Files, choose Chrome, and tap Just once. HTML Viewer ran no scripts in our test. Or use a free viewer.
- How to open an HTML file on a Samsung phone or tabletOn a Galaxy, a downloaded .html file is in My Files under Downloads. Open it in Chrome or a free HTML viewer, or send a link that opens on any phone.
- How to open an HTML file on a Xiaomi, Redmi, or POCO phoneOn a Xiaomi, Redmi, or POCO phone, a downloaded .html file is in File Manager. Open it with Chrome or a free HTML viewer, or send a link instead.
- Why does my HTML file show code or a blank white page?An HTML file shows code in a text editor or under a .txt name, and goes blank when its script can't run. Each fix, and what file://error_page_loaded.html is.
- How do I send an HTML file on WhatsApp so it opens in one tap?Send an HTML file on WhatsApp with Document and it arrives as a file. To share it so it opens as a page in their phone's browser, send a link instead.
- How to share an HTML file as a link that opens on any phoneUpload the file to a host and send its link; email and Google Drive send the code. 8 hosts compared, from Netlify Drop to Convika, with 4 steps.
AI Skill Pod
Share AI skills with your team, the easy way
Everyone uses your team's skills in their own ChatGPT, Claude or Gemini, on any plan. Send one invite link. Free to start.
Start free on AI Skill Pod