Ta strona nie jest jeszcze przetłumaczona, więc wyświetla się po angielsku.

How to open an index.html file on your phone, iPhone or Android

Quick answer

To open an index.html file on a phone, open Convika's free HTML viewer in Safari or Chrome, tap Choose an .html file, and pick index.html: the page runs with its CSS and JavaScript. When index.html came with a folder of CSS, JavaScript, and images, choose the site's .zip in the upload box on this page instead. The box puts the files index.html uses inside one page and gives you a link that opens on your iPhone or Android phone.

Get a link for my index.html

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 an index.html file on a phone, open Convika's free HTML viewer in Safari or Chrome, tap Choose an .html file, and pick index.html. The page runs in your phone's browser with its CSS and JavaScript, and there's no app to install. When index.html came with a folder of CSS, JavaScript, and images, choose the site's .zip in the upload box at the top of this page: it puts those files inside one page and gives you a link.

index.html is the home page of a website. MDN's guide to website files says: "index.html: This file will generally contain your homepage content, that is, the text and images that people see when they first go to your site." Beside it, MDN lists an images folder, a styles folder, and a scripts folder. So an index.html on your phone is one of 2 things: a whole page in one file, or the front page of a folder. Each has its own way to open.

Which index.html do you have?

What is on your phoneOpen it withWhat you get
index.html alone, with its CSS and JavaScript insideConvika's HTML viewer: Choose an .html fileThe page, running in Safari or Chrome
A .zip with index.html, CSS, JavaScript, and imagesThe upload box: Choose a fileOne combined page and a link to it
A folder with index.html and its files, already unzippedThe upload box, after you compress the folder to a .zipOne combined page and a link to it
HTML code in a chat, with no fileThe HTML viewer: Paste code, then Show the pageThe page, running

Open an index.html file on a phone in 3 steps

1. Find the file on your phone

On an iPhone, a download is in the Files app. Apple's steps: "Tap Browse", then "Tap the Downloads folder to see your downloaded files". On Android, Google's Chrome help says: "To find all the files that you've downloaded to your device, open the Files app."

2. Open the HTML viewer in Safari or Chrome

Go to convika.com/tools/html-viewer. It's free and needs no account.

3. Tap "Choose an .html file" and pick index.html

The page appears with its CSS and JavaScript running: tap its buttons, open its menus, fill in its fields. The viewer opens .html and .htm files up to 2 MB, and the file stays in your browser.

Under the page, the viewer names any file index.html asks for from its folder. In our test on November 22, 2026, an index.html that loads css/style.css, js/app.js, and img/logo.png showed its text in the viewer, with this line under it: "This page points to files on your device that cannot show here: style.css, logo.png, and app.js." That line tells you the page is the front of a folder. Open it the next way.

Open an index.html that came with a folder

A site folder travels as a .zip, and the upload box reads the .zip on your phone.

  1. In the upload box at the top of this page, tap Choose a file and pick the .zip. The box takes ".html, .htm, or .zip".
  2. The box finds index.html and puts the CSS, JavaScript, and images it uses inside that one file. It tells you what it did.
  3. Tap Get my preview link. You get a link without an account. It works for 3 minutes.
  4. For a page with scripts, tap Open it running in this browser to use the page on your phone, with its buttons working.
  5. Tap Keep this page — free, no card to move the page into your account, where you publish it.

We ran it on November 22, 2026, in Playwright's Chromium 156 at 1280 pixels wide and in its WebKit 27.2 at an iPhone 15's size. The .zip held index.html, css/style.css, js/app.js, and img/logo.png. In both, the box answered: "Combined index.html, 1 CSS file, 1 JavaScript file, and 1 image into one file." The combined page showed its heading in the stylesheet's colour, ran the script, and drew the image, all from the single file.

The folder is already unzipped

Compress it again, then choose the .zip.

  • iPhone. Apple's steps in the Files app: "Tap the More button, then tap Select", "Choose one or more files", then "Tap the More button in the lower right, then tap Compress."
  • Android. Google's steps in Files by Google: "Select the files or folders you want to compress", tap More, then "From the dropdown menu, tap Compress."

Going the other way, Apple says: "Tap the ZIP file or archive. A folder is created containing the files." Google says to select the .zip file and "Tap Extract".

Ask the AI for one file

If ChatGPT, Claude, or Gemini made the site, one file is the short way. Paste this into the same chat:

Give me the whole site as one index.html file: the CSS in a <style> tag, the JavaScript in <script> tags, and full https:// links for images.

Then open the new index.html in the HTML viewer. How to make an HTML file on iPhone or Android covers saving code from a chat as a file.

Put index.html online from your phone

A page on your phone opens for you. A link opens for everyone you send it to:

  1. Upload index.html or the .zip in the upload box and tap Get my preview link.
  2. Tap Keep this page — free, no card and sign up. The page moves into your account, and its scripts run in the dashboard preview.
  3. Tap Publish page. Under Who can open this page?, choose Public and tap Next. The first time, 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, cancel any time before it ends.
  4. Copy the address under Live URL and send it. It opens in the browser on any iPhone or Android phone.

The Free plan includes 1 published page and 10,000 page views a month.

Frequently asked questions

How do I open an index.html file on my phone?

Open Convika's free HTML viewer in Safari or Chrome, tap Choose an .html file, and pick index.html. The page runs in the browser with its CSS and JavaScript. For an index.html with a folder of other files, choose the .zip in the upload box.

How do I open an index.html file on an iPhone?

Save it to the Files app, open the HTML viewer in Safari, tap Choose an .html file, and pick it. How to open an HTML file on iPhone shows what a tap in Files does instead.

How do I open an index.html file on Android?

Open the HTML viewer in Chrome, tap Choose an .html file, open Downloads in the picker, and tap index.html. How to open an HTML file on Android has the steps from the Files app.

What is an index.html file?

The home page of a website. MDN says it "will generally contain your homepage content, that is, the text and images that people see when they first go to your site". A web server shows it first, and a folder you download or unzip keeps it beside the site's styles, scripts, and images.

Why does my index.html show no styles or images on my phone?

The file names other files in its folder, such as style.css, and the viewer reads one file. Choose the folder's .zip in the upload box: it puts the CSS, JavaScript, and images inside the page. HTML file missing images and styles covers each cause.

Can I open a .zip with index.html on a phone?

Yes. Tap Choose a file in the upload box and pick the .zip. In our test, a .zip with index.html, 1 CSS file, 1 JavaScript file, and 1 image became one page that ran its script and showed its image.

Is my index.html uploaded when I open it in the viewer?

No. In the HTML viewer, your browser reads the file on your phone. The upload box sends the page to Convika when you tap Get my preview link, and the link is private.

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⁠

Put your index.html online as a link

Upload index.html, or the .zip of its folder, and publish it. The link opens the site in the browser on any phone, with its styles, images, and buttons.

Get a link for my index.html

Pro starts with a free trial: 7 days free, then $12 a month. Cancel any time before the trial ends.