Convika

Още не е на български, затова е на английски.

How to open an HTML file on any computer, phone, or tablet

Quick answer

On a computer, double-click the .html file to open it in your browser, or drag it into a Chrome, Safari, Edge, or Firefox window. On Android, tap it in Files and choose Chrome. On an iPhone or iPad, a tap opens a preview that ran no scripts in our tests: open Convika's free HTML viewer in Safari, tap Choose an .html file, and pick the file.

Open my HTML file

Free, no account.

On this page

Find your device or your browser below. Each line gives the taps, and its link opens the full guide, with what to do when the page won't show.

What an HTML file is

An HTML file, ending in .html or .htm, is a web page saved as a text file. Inside are HTML tags for the page's structure, and often CSS for its look and JavaScript for its buttons, quizzes, and charts. A browser reads the file and draws the page. A text editor shows the code instead, which is why the same file looks like a page in Chrome and like code in Notepad.

An HTML file can name other files: a picture such as photo.png, a style.css, or a .js script. Those are separate files, and they have to travel with it. A page from ChatGPT, Claude, or Gemini opens on its own when it's one file with everything inside, so ask the AI for that.

Open an HTML file on your device

Computers

  • Windows: double-click it. If Notepad opens it, right-click it, choose Open with, and pick Edge or Chrome.
  • Mac: double-click it to open it in your default browser, or in Safari choose File > Open File.
  • Chromebook: double-click it in the Files app, and it opens in Chrome. Or press Ctrl + O in Chrome.
  • Linux: double-click it in the file manager, or run xdg-open page.html in a terminal.

iPhone and iPad

  • iPhone: save it to Files, open Convika's free HTML viewer in Safari, and tap Choose an .html file.
  • iPad: save it to Files, open Convika's free HTML viewer in Safari, and tap Choose an .html file.

Android phones and tablets

  • Android: tap it in Files, choose Chrome, and tap Just once.
  • Samsung Galaxy: in My Files, open Downloads, tap it, and choose Chrome.
  • Xiaomi, Redmi, POCO: in File Manager, touch and hold it, tap More, then Open in another app, and pick Chrome.
  • Huawei: in Files, touch and hold it, touch More, then Open with, and pick a browser.
  • OPPO, realme, OnePlus: in My Files, tap it and choose Chrome.
  • vivo, iQOO: in File Manager, long press it, select More, then Open with, and pick Chrome.
  • Amazon Fire tablet: open Convika's free HTML viewer in Silk, tap Choose an .html file, and pick it.
  • Kindle e-reader: send it with Send to Kindle to read it like a document, or open its link in the Kindle's Web Browser.

Open it in the browser you choose

On a computer, dragging the file into an open browser window works in all 4.

  • Chrome: on a computer, press Ctrl + O (Cmd + O on a Mac), or right-click the file, choose Open with, and pick Google Chrome. On Android, tap it in Files and choose Chrome. On an iPhone, open Convika's free HTML viewer and tap Choose an .html file, or get a link from Convika's HTML publishing tool.
  • Safari: on a Mac, choose File > Open File (Command-O), or Control-click the file and choose Open With > Safari. On an iPhone or iPad, open Convika's free HTML viewer in Safari and tap Choose an .html file.
  • Edge: on a computer, right-click the file, choose Open with, and pick Microsoft Edge, or press Ctrl + O in Edge. On a phone, open Convika's free HTML viewer and tap Choose an .html file, or get a link from Convika's HTML publishing tool.
  • Firefox: on a computer, press Ctrl + O (Cmd + O on a Mac), or run firefox page.html in a terminal. On a phone, open Convika's free HTML viewer in Firefox and tap Choose an .html file, or get a link from Convika's HTML publishing tool.

Open an HTML file online, with no app

Convika's free HTML viewer opens an .html file in any phone or computer browser, with no account:

  1. Open the viewer and tap Choose an .html file. If the code came as text in a chat or an email, open Paste code, paste it, and tap Show the page.
  2. The page shows with its CSS and JavaScript running.
  3. For a file you're unsure of, turn off Run scripts first: the page then shows its HTML and CSS only.

Your browser reads the file, and it never reaches Convika's servers. The viewer opens .html and .htm files up to 2 MB, and lists the files the page names that didn't come with it.

Open an HTML file from an email

  • Gmail. Download it, then open it in a browser: tap Download in the Android app, or hover over it on a computer and click Download. On an iPhone, Gmail offers Save to Drive.
  • Outlook. Choose Download next to it (Save As in classic Outlook, Save to device on Android), or on an iPhone tap Share, then Save to Files. Then open it in a browser.
  • Apple Mail. On a Mac, Control-click it, choose Open With, then a browser. On an iPhone or iPad, touch and hold it, choose Save to Files, then choose it in Convika's free HTML viewer in Safari.

Open an attachment only if you expected it and know the sender. An HTML file can show a sign-in box and send what you type to another site. Are HTML files safe to open? shows how to check one.

Why it shows code or a blank page

  • You see code. A text editor opened it, its name really ends in .txt, or the file isn't a whole page. Open it in a browser, and check that the name ends in .html.
  • You see a blank page. The script that draws the page can't run, as in the iPhone's Files preview. Open it in a browser or in Convika's free HTML viewer with Run scripts on.
  • Images and styling are missing. They're separate files that didn't come with the .html file. Ask for one file with everything inside, or a link. Why images and styles go missing
  • Chrome on an iPhone shows file://error_page_loaded.html. That's Chrome's own error page, not your file. Open the file through Convika's free HTML viewer instead.

Why your HTML file won't display has a check for each cause.

A file sent in a chat or an email makes the other person go through the steps above, and on an iPhone a tap in Files runs none of its scripts. A link opens in their browser with one tap, buttons working.

  1. Drop the file into Convika's free HTML publishing tool, or paste the code. You get a preview link in seconds, without an account. It works for 3 minutes, with scripts and forms off.
  2. Click Keep this page — free, no card and sign up. The page moves into your account, where its scripts run.
  3. Click Publish page. Under Who can open this page?, choose Public and click Next. The first time, click Publish free.
  4. Send the address, such as yourpage.convika.page, in the chat or the email instead of the file.

How to share an HTML file as a link covers Slack, Teams, and email, and How to turn an HTML file into a QR code covers a code people scan.

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⁠

Frequently asked questions

How do I open an HTML file?

On a computer, double-click it to open it in your default browser, or drag it into a Chrome, Safari, Edge, or Firefox window. On Android, tap it in Files and choose Chrome. On an iPhone or iPad, save it to Files, open Convika's free HTML viewer in Safari, and tap Choose an .html file: a tap in Files opens a Quick Look preview, which ran no JavaScript in our iOS 26.3 test.

How do I run an HTML file?

Open it in a browser: the browser runs its JavaScript as it draws the page. On a computer, double-click it or drag it into a browser window. On a phone, choose it in Convika's free HTML viewer, where its scripts run. If the code came as text from ChatGPT, Claude, or Gemini, paste it into the viewer's Paste code tab and tap Show the page. How to run HTML code from an AI covers each AI.

How do I view an HTML file without a browser?

To see its code, open it in a code editor, such as Notepad on Windows or VS Code. To see the page, you need something that draws web pages: a browser, or Convika's free HTML viewer, which runs in one. On an iPhone, the Files app's Quick Look preview shows the text and the layout, and ran none of the page's JavaScript in our iOS 26.3 test.

What app opens HTML files?

Any web browser: Chrome, Safari, Edge, or Firefox. On a computer, the one set for .html files opens it on a double-click. On Android, Chrome opens it from Files. On an iPhone or iPad, open Convika's free HTML viewer in Safari and tap Choose an .html file, with no app to install.

Why does my HTML file open in Notepad?

Windows opens a file with the app set for .html files, and on your PC that's Notepad. Right-click the file, choose Open with, and pick Edge or Chrome, or set one under Settings > Apps > Default apps.

Can I open an HTML file on my phone?

Yes. On Android, tap it in Files and choose Chrome. On an iPhone or iPad, save it to Files, then choose it in Convika's free HTML viewer in Safari. To send a page that opens on any phone with one tap, publish it with Convika's HTML publishing tool and send the link.

Is it safe to open an HTML file?

Yes, if you expected the file and know who sent it. An HTML file is a web page: it can run scripts, show a sign-in box, and send what you type to another site, and phishing emails use all 3. To check one, read it as text, or open it in Convika's free HTML viewer with Run scripts off.

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

More ways to send your page

Share this article

Open your HTML file now

Choose the file or paste its code. The page runs in your browser on any phone or computer, and the file isn't uploaded.

Open my HTML file

Free, no account.