How to open an HTML file on a Samsung phone or tablet
Quick answer
On a Samsung Galaxy, a downloaded .html file is in My Files under Downloads. Tap it and choose Chrome: in our Android 16 emulator test, Chrome ran the page's scripts and Android's HTML Viewer didn't. If no browser is offered, open a free HTML viewer in Chrome and pick the file. We didn't test a real Galaxy.
Free plan: no credit card, 1 published page.
On this page
- What happens when you tap an .html file on a Galaxy
- Open an HTML file on a Galaxy in 4 steps
- Where Gmail, Samsung Email, and WhatsApp put the file
- Change which app opens it
- Ways to open it on a Galaxy, compared
- Why it shows code or a blank page
- On a Galaxy Tab or in Samsung DeX
- Send a page that opens on any phone
- Frequently asked questions
- Sources
A teacher emails a quiz made with ChatGPT. A friend drops a Claude game into WhatsApp. You tap the .html file on your Galaxy and get a screen of code, a page whose buttons do nothing, or a list of apps to choose from. This page covers what's different on a Samsung: where My Files keeps the file, which browser to pick, and the settings Samsung names. Android's own steps and our full test are in How to open an HTML file on Android.
The Samsung, Google, and WhatsApp help pages quoted here were read on November 3, 2026. Our device test ran in Google's Android emulator, not on a Galaxy, so a label on your phone may differ.
The quickest way on a Galaxy: open Convika's free HTML viewer in Chrome, tap Choose an .html file, and pick the file from 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 a Galaxy
Android hands the file to an app, and the apps it offers depend on the phone. Samsung's help for its Email app describes that moment for an attachment: "you will be prompted to open it with a suggested app."
We tested it 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, then Just once. Always makes that app open every .html file without asking, so pick it only for a browser. The emulator has no My Files, the file app on a Galaxy, so we didn't see which apps it lists.
Samsung Browser. Samsung's US help calls its own browser Samsung Browser, in "Use the Samsung Browser app on a Galaxy phone or tablet"; its help for DeX still says Samsung Internet. None of the Samsung pages we read says how it opens a saved .html file, and we didn't test it: it doesn't come with Google's emulator. If Open with lists both browsers, Chrome is the one we saw run the page.
Open an HTML file on a Galaxy 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. In Samsung Email, tap the attachment or tap Save, as Samsung's help describes. 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.
2. Find it in My Files, under Downloads
Samsung's help: "Navigate to and open the My Files app. It's usually in the Samsung folder." Then tap Downloads. Samsung's UK help, updated June 5, 2026, says "if you have downloaded a file from the internet it will appear under Downloads". If it isn't there, tap the search icon in My Files and type the file's name.
3. Tap it, choose Chrome, then Just once
If your phone asks which app to use, choose Chrome, then Just once. The page opens in Chrome with its scripts running, at an address that points into your own phone.
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. 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.
Where Gmail, Samsung Email, and WhatsApp put the file
- Samsung Email. Samsung's help: "When you save an attached file, it is saved in the internal storage of your phone, and you can find the file in the Downloads folder in the My Files app."
- Gmail. Gmail's Android help gives 3 steps: open the Gmail app, open the email, and tap Download. It doesn't name the folder. Look in Downloads in My Files, or search My Files for the file's name. The same help page warns about an attachment that "allows unverified scripts". If you weren't expecting the file, ask the sender before you open it.
- WhatsApp. A file sent with WhatsApp's Document option is "a document of up to 2 GB", per WhatsApp's Android help, which doesn't say where the phone keeps it. How to send an HTML page on WhatsApp covers the sender's side.
- Samsung Messages. Samsung's help for its Messages app says MMS "allows you to send photos, videos, audio clips, and other media files", and doesn't mention an
.htmlfile. We didn't test one. - A browser. A file you download from a web page goes to Downloads, as in step 2.
Change which app opens it
- Your default browser. Samsung's steps: "Settings > Apps > Choose default apps > Browser app", then pick the browser. Google's Chrome Help gives Chrome's own route: tap More, then Make Chrome default. Google says that with a default browser, "links open automatically" in it. Neither Google nor Samsung says whether My Files uses that setting for a saved
.htmlfile. - If the sheet names the app you used last. In our emulator test, after we opened the file once with Just once, the next tap showed Open with HTML Viewer, with Use a different app under it: tap that to pick Chrome. Samsung's help doesn't describe this sheet in My Files, and we didn't test My Files.
- If you tapped Always. The file then opens in that app without asking. Samsung's help doesn't say how to undo that, 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 Android picks.
Ways to open it on a Galaxy, compared
| Way to open it | What you need | Scripts run | Who sees the page |
|---|---|---|---|
| Tap it in My Files, choose Chrome | Chrome | Yes, in our Android 16 emulator test (in Android's Files app, not My Files) | Only you |
| Tap it in My Files, choose Samsung Browser | Samsung Browser | Not tested | 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.
On a Galaxy Tab or in Samsung DeX
Samsung gives one set of steps for a Galaxy phone or tablet in its My Files and Samsung Browser help, so look for the same names on a Galaxy Tab. Its US help for DeX adds 2 things that matter for a page someone sent you:
- "While using the Samsung Internet app in DeX mode, webpages default to desktop view." For the phone layout, Samsung's steps are to select Menu (three horizontal lines), then Mobile site.
- "Apps that are running when you open or close Samsung DeX will be closed." Finish a quiz before you switch DeX on or off, or its answers may be gone.
We didn't test a Galaxy Tab or DeX.
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 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 share an HTML file as a link compares other free hosts. To keep the page as an icon on your own Galaxy, see how to add an HTML file to your home screen.
Frequently asked questions
How do I open an HTML file on my Samsung phone?
Open My Files, tap Downloads, and tap the file. When your phone asks which app to use, choose Chrome, then Just once: 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 Galaxy.
Where do downloaded HTML files go on a Samsung?
Into Downloads in the My Files app, which Samsung says is usually in the Samsung folder. Samsung's help says a file downloaded from the internet appears there, and Samsung Email saves an attachment to the same folder. If you can't find it, tap the search icon in My Files and type the file's name.
Can Samsung Internet open HTML files?
Samsung's help doesn't say, and we didn't test Samsung Internet, which Samsung's US help now calls Samsung Browser. Chrome ran an .html file in our Android 16 emulator test, so choose Chrome if your phone lists both. The HTML viewer is a web page, so it needs no app beyond a browser.
How do I make Chrome open HTML files on my Galaxy?
Tap the file and choose Chrome. On Android, Always makes the app you chose open .html files without asking; we didn't tap it in our test, and we didn't test My Files. To make Chrome the browser that opens links, Samsung's route is Settings > Apps > Choose default apps > Browser app. Samsung doesn't say whether My Files follows that setting for a saved file.
Why does my HTML file show code on my Samsung?
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. Open the file again from 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 create an HTML file on my Samsung phone?
Paste the code into an HTML viewer to see it as a page: copy the code from ChatGPT, Claude, or Gemini, open Convika's HTML viewer in Chrome, choose Paste code, paste it, and tap Show the page. To keep it, switch the upload box at the top of this page to Paste code, paste it, and click Get my preview link, then Keep this page — free, no card: the page is kept in your account, with no file on the phone. Samsung's help we read doesn't say how to make an .html file, and we didn't test an app for it.
How do I send an HTML file so it opens on a Samsung?
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
- Manage files on your Galaxy phone or tablet (Samsung US) (checked November 3, 2026)
- Where to find downloaded files & my files folder on Samsung phone (Samsung UK) (updated June 5, 2026; checked November 3, 2026)
- Use the Samsung Browser app on a Galaxy phone or tablet (Samsung US) (checked November 3, 2026)
- How to use the Samsung Email app and how to open attachments on a Galaxy phone (Samsung South Africa) (last updated June 5, 2021; checked November 3, 2026)
- How to Use the Samsung Messages App on a Galaxy Phone or Tablet (Samsung UAE) (last updated June 29, 2026; checked November 3, 2026)
- Access apps in Samsung DeX (Samsung US) (checked November 3, 2026)
- Make Chrome your default browser, Android (Google Chrome Help) (checked November 3, 2026)
- Open & download attachments in Gmail, Android (Gmail Help) (checked November 3, 2026)
- How to send media, contacts, or location, Android (WhatsApp Help Center) (checked November 3, 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 on Android, and how do I send one that opens?Android asks which app opens an .html file. In our emulator test, Chrome ran the page and HTML Viewer didn't. Use Chrome or a free viewer, or get a link.
- Why does my HTML file open as code (or a blank page) instead of a page?An HTML file shows code when an editor, a preview, or a .txt name opens it, and goes blank when its script can't run. Our October 2026 tests, and each fix.
- How to send an HTML page on WhatsApp so it opens in one tapSent through WhatsApp's Document option, an HTML file arrives as a file. Send a link instead so it opens in their phone's browser.
- How to share an HTML file as a link that opens on any phoneEmail and Google Drive open HTML on a phone without scripts. Compare 5 hosts (Netlify Drop, Tiiny Host, Pagelive, GitHub Pages, Convika) and follow 4 steps.
- Add an HTML file to your iPhone or Android home screen, like an appSafari's Add to Home Screen and Chrome's shortcut start from a website, not a saved file. Put the HTML page online, open it in a browser, and add it.
- How to play an HTML game on your iPhone or Android phoneTapping game.html often opens a preview that doesn't run the game. Play it once in Safari or Chrome with a free viewer, or from a link that keeps high scores.