Free, no signup. Your file stays in your browser
Free online HTML viewer
Upload an .html file or paste HTML code and see the page rendered here: a live preview with its CSS and JavaScript running, on any phone or computer, free with no signup. A Markdown (.md) file from Claude or ChatGPT opens here too, with its headings, lists, and tables formatted. Your browser reads the code; it reaches Convika only when you press "Get a link by uploading this page" for a link that works for 3 minutes.
Drop your .html file here
.html, .htm, or .md, up to 4 MB.
Private previewIt opens on this page and stays in your browser.
How to view HTML code online: paste code or upload a file to preview it
- Press Paste code above and paste your HTML.
- Press Show the page. The page opens right here, with its CSS and JavaScript running.
- To change something, press Edit the code, edit it, and press Show the page again.
- For a file, press Open file, then Choose an .html file, or drop the file on the box.
How do I open an HTML file online?
Press Open file, then Choose an .html file. The page opens here in your browser, and the file stays on your device. On a computer, switch the width to Phone to see how the page fits a phone screen.
How do I see the CSS and JavaScript too?
Put the CSS in <style> and the JavaScript in <script> inside the HTML, and paste it as one piece of code. Stylesheets and libraries loaded from https:// addresses run as well.
My HTML is all on one line. How do I read it?
Paste it into the HTML formatter: it indents each tag by how it nests and lays out the CSS and JavaScript line by line. One click brings the formatted code back here to view.
Publish the HTML you viewed
Press "Get a link by uploading this page" above the page for a private link that works for 3 minutes, with no signup. For a page people keep opening, keep it on the Free plan with no card and publish it: its URL stays the same until you unpublish it, and its scripts run.
How to open an .html file on each device
iPhone or iPad
If someone sent you a file in Mail, touch and hold it, then choose Save to Files. According to Apple's iPad guide, downloads go to Downloads in the Files app, and any file without an installed app opens in a Quick Look preview. To run the file properly, open this page in Safari and tap "Choose an .html file". Don't open a file you weren't expecting, ask the sender first, and turn off Run scripts before choosing one you're unsure of.
Android
Open this page in Chrome and tap "Choose an .html file" to select the file from Downloads or your storage folder. If you open it through a file manager instead, Android hands the file to whichever app it picks, which can change how the page looks. If someone sent you the file, don't open a file you weren't expecting, ask the sender first, and turn off Run scripts before choosing one you're unsure of.
A computer
Drag the file into the box above, or open "Paste code" to paste HTML from your chat. Double-clicking the file opens it in your local browser, but only on that computer. Switch the view to "Phone" to see how your layout fits a handheld screen. On a Chromebook, Google lists Ctrl + O as "Open a file in the browser". Press it in Chrome and choose the file from Downloads. Google's list of working file types does not include .html, and notes that some files might not work on a school or work device where an administrator manages access. If you are opening a file someone sent you, don't open a file you weren't expecting, ask the sender first, and turn off Run scripts before choosing one you're unsure of.
Why an .html file doesn't open properly on a phone
In a test on iOS 26.3, tapping an .html file in the Files app opens a preview, not Safari. That preview ran no JavaScript and loaded no images, fonts, or Tailwind from the web. It shows the text and the CSS written inside the file, nothing more. In a test on iPadOS 26.3 in Apple's iPad simulator, Open With listed no app for an .html file, only Preview with Quick Look. That preview ran none of the page's JavaScript and loaded no web fonts or images from the web. Choosing the same file in this viewer in Safari, the script ran and the web font and image loaded. On Android, a file manager hands an .html file to whichever app the phone picks, so the page can look different there. This viewer runs directly inside your phone's browser, so your page keeps its JavaScript and loads what it links to, such as images, fonts, and scripts from other sites.
If you want to send your page to students, friends, or clients, you can share it as a link instead. Share an HTML file as a link
Open an HTML file on an iPad or a Chromebook
On an iPad
A downloaded file goes to Downloads in the Files app. A file whose app isn't installed opens in a Quick Look preview. If someone sent the file in Mail, touch and hold the attachment, then choose Save to Files. In a test on iPadOS 26.3 in Apple's iPad simulator, Open With listed no app for an .html file, only Preview with Quick Look. That preview ran none of the page's JavaScript and loaded no web fonts or images from the web. Choosing the same file in this viewer in Safari, the script ran and the web font and image loaded. Tap "Choose an .html file" to open it here. If you open a file someone sent, don't open a file you weren't expecting, ask the sender first, and turn off Run scripts before choosing one you're unsure of.
On a Chromebook
Google's list of Chromebook shortcuts gives Ctrl + O as "Open a file in the browser". Press it in Chrome and choose the file. Downloads is where files go unless you changed it. The page then shows on that Chromebook only. Google's list of file types that work on Chromebooks doesn't include .html, and it says some files might not work on a school or work Chromebook, where the administrator can help. You can also open this page in Chrome and tap "Choose an .html file". If you open a file someone sent, don't open a file you weren't expecting, ask the sender first, and turn off Run scripts before choosing one you're unsure of.
Send the page to someone on an iPad or a Chromebook
Send the .html file, and someone who taps it in Files on an iPad gets the same preview, with no scripts running. Send a link instead. Tap "Get a link by uploading this page" above the page, keep the page on the Free plan, and publish it. Its scripts run at a URL that stays the same until you unpublish it. It opens in the browser on an iPad, a Chromebook, or a phone, so a whole class can open the same link.
Why images and other pages do not show
The viewer reads one file. A path like hero.png points to a file in the same folder on your device, so that image shows as broken. The viewer lists those files under the page. Give each image a full https:// link. The page still loads what it links to, such as images, fonts, and scripts from other sites. A link to another page of the site, such as about.html, goes nowhere for the same reason. Links that open a new tab are off here.
Share the page as a link
The viewer shows the page on your screen only. Press "Get a link by uploading this page" above the page to upload it to Convika for a private link that works for 3 minutes, with no signup. That gives you time to open the page on another device. Each network can make 10 a day. Scripts and forms work on that link. To send the page to someone, keep it on the Free plan, with no card, and publish it. It gets a URL that stays the same until you unpublish it, with its scripts running. Convika's free HTML publish tool makes the same link from its own page.
Have a PDF instead of an HTML file? Online PDF viewer
Questions about the HTML viewer
Is there a free online HTML viewer where I can upload an .html file?
Yes, this one. Press Open file, then choose or drop an .html or .htm file up to 4 MB. The page renders here with its CSS and JavaScript running, on a phone or a computer. A Markdown (.md) file opens the same way and shows formatted: headings, lists, tables, code blocks, and links. It is free with no signup, and the file stays in your browser.
Can I preview HTML online without signing up?
Yes. Paste your HTML and press Show the page, or choose an .html file: the rendered preview appears on this page, with no signup and nothing to install. Press Edit the code to change the HTML and preview it again. For a link to open on another device, press "Get a link by uploading this page": it works for 3 minutes, also with no signup.
Where does my file go?
It stays in your browser. Your browser reads and displays the code directly on your phone or computer. The file never reaches Convika's servers, and this page does not save it. Convika only receives your page when you click "Get a link by uploading this page". The page still loads web fonts, images, and outside scripts from other sites as usual. Files must be .html, .htm, or .md, up to 4 MB.
Does JavaScript run?
Yes. The page runs inside a sandboxed frame walled off from convika.com. Its scripts cannot read convika.com's cookies or storage, change this page, or send the tab to another site. Pop-up windows and alert boxes stay off. Above the page, the "Run scripts" checkbox starts turned on. Uncheck it to turn scripts off. If someone sent you a file, don't open a file you weren't expecting, ask the sender first, and turn off Run scripts before choosing one you're unsure of.
Why don't images show?
Files like hero.png or images/logo.svg sit in folders on your device. The viewer reads only the single .html file you select. To display images, link to URLs that start with https://, or encode the images directly into your HTML code. Embedded images count toward the 4 MB limit. The viewer lists missing files under the page.
How do I open an HTML file on an iPhone?
In the app where you received the file, choose Save to Files. Open this page in Safari and tap "Choose an .html file". JavaScript, web fonts, and web images load and run here. In a test on iOS 26.3, tapping an HTML file directly in Files opens a preview that runs no JavaScript and loads nothing from the web. Don't open a file you weren't expecting, ask the sender first, and turn off Run scripts before choosing one you're unsure of.
Why won't an iPad open an HTML file?
The Files app opens files in Preview with Quick Look instead of Safari. In a test on iPadOS 26.3 in Apple's iPad simulator, Open With listed no app, and the preview ran no JavaScript and loaded nothing from the web. Open this page in Safari and tap "Choose an .html file" to run scripts and view web fonts and images. Don't open a file you weren't expecting; ask the sender about it first, and turn off Run scripts before you choose one you're unsure of.
How do I open an HTML file on Android?
Open this page in Chrome and tap "Choose an .html file". Pick your file from Downloads or the folder where you saved it. The page opens immediately with its CSS and JavaScript running. Don't open a file you weren't expecting, ask the sender first, and turn off Run scripts before choosing one you're unsure of.
Can a Chromebook open HTML files?
Yes, in Chrome. In Google's shortcut list, Ctrl + O works to "Open a file in the browser". Google's Chromebook file-type list has no .html entry. School or work Chromebooks may block some files, so contact your administrator if a file fails to load. To test your page at phone width or turn it into a link, open this viewer in Chrome and click "Choose an .html file". Don't open a file you weren't expecting; ask the sender about it first, and turn off Run scripts before you choose one you're unsure of.
How do I share the page as a link?
Click "Get a link by uploading this page" above the page. You get a private link that works for 3 minutes with no signup. Each network can create 10 links a day. JavaScript and forms work on that link. For a page friends or students keep opening, keep it on the Free plan and publish it. The page keeps that URL until you unpublish it, and its scripts run.
Can I edit the code?
Yes. Click "Edit the code" under the page, change the HTML in the box, and click "Show the page". Editing here does not modify the original file on your device. You can copy the code back to your file, or click "Get a link by uploading this page" to share the updated version.
ChatGPT, Claude, or Gemini gave me HTML code: how do I run it and see the page?
Guides
Is ChatGPT Sites free? Not on Free or Go; on Plus, Pro, Business, and Enterprise, hosting is free through January 31, 2027
Not on Free or Go. On Plus, hosting is free through January 31, 2027, then OpenAI plans to bill past 125 credits a month. Convika hosts ChatGPT pages free.
How do I send or share an HTML file on WhatsApp so it opens in one tap?
Send an HTML file in 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. Got one? Open it in a free HTML viewer.
HTML to QR code: how do I create a QR code for an HTML file?
To turn HTML into a QR code, publish the HTML file at an address that stays, then click Show QR code and download a PNG, or paste the address into a free QR code generator.
ChatGPT canvas is gone: where your HTML shows now, and how to share it
OpenAI took canvas out of GPT-5.5 on May 28, 2026. HTML now shows in a code block Preview in ChatGPT. To let others open the page, publish it.
How to open an HTML file on iPhone
Open 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.
How do I open an HTML file on iPad and make it run?
Open an HTML file on iPad in 3 steps: save it to Files, open a free HTML viewer in Safari, tap Choose an .html file. Its CSS and JavaScript run, no app.
How do I open an HTML file on Android in Chrome mobile?
HTML file shows code or won't open on Android? Open it in Chrome with a free HTML viewer and the page runs, buttons and all. No app, no account.
How to share an HTML file as a link that opens on any phone
Upload the file to a host and send its link; email and Google Drive send the code. 8 hosts compared, from Convika to Netlify Drop, with 4 steps.
How do I upload and share an HTML file on Google Drive, or send it as a web page?
To share an HTML file on Google Drive, upload it to Drive, click Share, set it to Anyone with the link, and copy the link. People get the file, not a web page; Convika's free upload box turns it into one.
Submit an HTML file in Google Classroom so your teacher sees the page
Classroom takes an HTML file, but the teacher gets the file. Hand in a link to the page instead. Teachers post a game for their class the same way.
How to send an HTML page on LINE so it opens in one tap
LINE's help doesn't say how a phone opens a received .html file, and LINE keeps files for a limited time. Send a link instead; it opens in a browser.
How to open an HTML file in Safari on iPhone or iPad, and on a Mac
To open an HTML file in Safari on iPhone or iPad, open the free HTML viewer and tap Choose an .html file. On a Mac, open a local HTML file with File > Open File (Command-O).