아직 한국어 페이지가 없어서 영어로 보여 드려요.

How to put an HTML file on your Wix site

Quick answer

Wix's help names no way to upload an .html file as a page of a site you build in the Wix editor. Its Embed HTML element shows pasted code in an iframe on a page, and Embed a site shows an https:// page in one, unless that page refuses to be framed. For a whole static site, Wix Headless takes a folder or zip with a top-level HTML file at wix.com/headless/drop, up to 20 MB in total, as a separate project.

Get a link for my HTML file

Free plan: no credit card, 1 published page.

On this page

You have an .html file, perhaps a landing page, a calculator, or a quiz that ChatGPT or Claude made, and a site on Wix. Wix builds its pages in its own editor, so a file doesn't become a page the way it does on a host that serves files. What Wix offers is a frame on one of your pages that shows the code or another site's page, a separate kind of Wix site for uploaded files, and links. This guide gives each, with its limits, from Wix's own help.

The Wix help pages quoted here were read on November 14, 2026. We didn't test them on a Wix site, so a label on yours may differ. Wix has more than one editor (the Wix Editor, Wix Studio, and the Wix Harmony editor), and the menus differ between them; the steps below say which is which.

To check the page first, drop it into the upload box at the top of this page: it gives a preview link without an account. That preview runs no scripts. 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 at a link your Wix site points to.

What Wix allows

What you wantWix's toolWhat Wix says about it
Show the HTML code on a Wix pageEmbed HTML (Embed code)Your code appears in an iframe. “Only HTTPS codes and URLs are displayed”, and “There is no character limit”
Show a page from another addressEmbed a siteShows “an external site in a window on your page”. Some sites “won't appear in the embed after pasting their URL”, and “it is not possible to bypass this within Wix”
Add a script to every page, unseenCustom Code in SettingsFor tracking and verification snippets, “always invisible to your site visitors”. Needs a published site with a connected domain
Send visitors to the pageA button with a Web address linkOpens in a new window or the current one
Upload a whole static siteWix Headless uploadStatic HTML, CSS, JavaScript, and assets, “up to 20 MB total”, as a new headless project, not a page of your editor site
Upload the .html file to the Media ManagerNoneWix's media file types (images, video, audio, documents, archives, and more) include no HTML

A Wix Blog post can attach an .html file for readers to download: .html is on its list of file types. That's a file in a post, not a page.

Paste the code into Embed HTML

This puts the page's code in a box on one of your Wix pages.

  • Wix Editor: click Add Elements, then Embed Code, then Popular Embeds, and choose Embed HTML. Click the element, click Enter Code, paste the code under Add your code here, and click Apply.
  • Wix Studio: click Add Elements, then Embed & Social, then Embed Code. Click Enter Code, paste, and click Apply.
  • Wix Harmony editor: click + Add, select Elements, hover over More Options, then click Embed. Drag Embed code onto the page, click the Settings icon, and paste into Enter HTML embed code.

Wix's rules for the code: it “must contain HTTPS and not HTTP”, so every image, script, and stylesheet the page loads needs an https:// address. In Wix Studio, the code runs “within a sandboxed iFrame”, and Wix lists what it turns back on: allow-scripts (“Re-enables custom JavaScript code”), allow-forms, allow-popups, allow-same-origin, and allow-pointer-lock. The Wix Editor and Harmony articles don't list their sandbox settings.

The box keeps the size you drag it to. Wix says code with fixed sizes, such as width="560", can be cut off, and to “replace the px values with percentage units and set them to 100%”. If the page has separate CSS or JavaScript files, Wix warns that “some elements may not function or look the same” unless they're referenced from the code.

Embed a site shows a page that already lives at an https:// address. In the Wix Editor: Add Elements, Embed Code, Popular Embeds, Embed a site; then click Enter Website Address, type the address under What's the website address?, and click Apply. In Wix Studio it's Embed Site and Change Website Address; in the Harmony editor, Embed a site and its Link setting.

The other site decides whether this works. Wix: “Some sites have security policies that forbid them from being embedded on external platforms such as Wix.” A Convika page is one of them: Convika refuses to be shown in a frame on another site. For a Convika page, add a button instead. In the Wix Editor, click the button, click the Link icon, choose Web address, paste the page's address, choose a new window or the current one, and click Done.

How it looks on phones

Wix's iframes don't resize to the screen. Wix says: “The HTML and URL elements in our editor are iFrames. Therefore, the code or site you are embedding won't be responsive, even if it is originally.” On a phone, the box can be cut off or show scroll bars.

What Wix suggests for the Wix Editor's mobile view:

  • Elements you add from the mobile editor are “mobile-only, meaning they're not displayed on the desktop version of your site.”
  • If the desktop box doesn't fit, Wix recommends “hiding the desktop code, and adding a mobile friendly alternative to your mobile site”.
  • “You cannot edit the code inside a desktop HTML element in the mobile editor.”

A page opened from a link has none of this: it fills the phone's screen at its own address.

When the HTML is a whole page

A page with its own header, sections, and buttons rarely fits in a box on another page. Three ways keep it whole:

  • Wix Headless. Drop the site's folder or zip at wix.com/headless/drop. Wix says the upload “releases your site so it goes live on a *.wix-site-host.com URL”, and that “This upload creates a new headless project.” What it takes: static files only (“Nothing runs on a server”), an HTML file at the top level (name it index.html if there's more than one), up to 20 MB per file, 20 MB in total, and 5,000 files. It rejects some file types, “such as WebAssembly”. You can upload without an account, but “you do need a Wix account to keep your site”. Wix doesn't say on these pages what a headless project costs or how long a dropped site stays up before you sign in.
  • A link from your Wix site. Publish the page on a host, then link a button to it, as above.
  • Your own domain. Connecting a domain to a Wix site takes a plan: “To connect a domain to your Wix site, you must upgrade your site with a plan.” Wix's help doesn't say whether you can point a subdomain of it at another host.

Ways to put an HTML file on Wix, compared

WayWhere it showsScripts runOn a phone
Embed HTMLIn a box on one Wix pageIn Wix Studio, yes (allow-scripts); the other editors' articles don't sayA fixed-size box; Wix suggests a mobile-only version
Embed a siteIn a box on one Wix pageThe page's own, if its host allows framing; a Convika page doesn'tThe same fixed box
Wix Headless uploadIts own *.wix-site-host.com addressWix serves your .js files unchanged; nothing runs on a serverThe page's own layout
A link to a page on a hostThe page's own addressYes, if the host runs themThe page's own layout

Convika serves one .html or .htm file up to 2 MB, or pasted code, at a lasting link, with its HTML, CSS, and JavaScript as they are. It runs no server code (no Node, Python, or database of your own).

Drop the 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 the layout. If the page's CSS and images sit in a folder next to it, drop that folder, or a zip of it, and the box puts them inside the file.

2. Keep the page

Click Keep this page — free, no card and sign up. The page moves into your account, and its scripts run in the dashboard preview.

3. Publish it

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). On Free, the page is Public: anyone with the link can open it, and it may show up in search results and in Convika's gallery.

Copy the page's address, such as yourpage.convika.page. In the Wix Editor, add a button, click the Link icon, choose Web address, paste it, and click Done. Publish your Wix site.

Free includes 1 published page and 10,000 page views a month, and the dashboard shows how many people opened the page. Is Wix's own plan enough for your site? Is Wix free? covers its Free plan and domains.

Frequently asked questions

Can you upload an HTML file to Wix?

Not as a page of a site you build in the Wix editor: Wix's help names no way to do it, and its media file types don't include HTML. Paste the code into an Embed HTML element to show it in a box on a page, or link to the page on another host. For a whole static site, Wix Headless takes a folder or zip at wix.com/headless/drop, up to 20 MB in total, as a separate project.

How do I add my own HTML code to a Wix site?

Use Embed HTML. In the Wix Editor, click Add Elements, Embed Code, Popular Embeds, then Embed HTML; click Enter Code, paste, and click Apply. The code shows in an iframe, and it must load everything over HTTPS. For a script that runs on every page without showing, use Custom Code in your site's Settings, which needs a connected domain.

Why isn't my embedded site showing on Wix?

The site you embedded probably forbids framing. Wix says some sites “won't appear in the embed after pasting their URL”, and “it is not possible to bypass this within Wix.” An address that starts with http:// won't show either: Wix displays only HTTPS. A Convika page can't be embedded, so link to it with a button.

Is Wix's HTML embed responsive on mobile?

No. Wix says its HTML and URL elements are iframes, so the embedded code “won't be responsive, even if it is originally.” Resize the box, or hide the desktop element and add a mobile-only one in the mobile editor. A page you link to instead fits the phone's screen on its own.

Do I need a Wix premium plan to embed HTML?

Wix's articles on Embed HTML and Embed a site don't name a plan. Custom Code in Settings needs a published site with a connected domain, and connecting a domain takes a plan. A custom element needs “a premium plan, connect a domain, and have no ads on it.”

Can I host a static HTML site on Wix?

Yes, as a Wix Headless project. Drop the folder or zip at wix.com/headless/drop: it needs an HTML file at the top level, takes up to 20 MB in total and 5,000 files, and runs nothing on a server. The site goes live on a *.wix-site-host.com address, and you need a Wix account to keep it. It's a separate project, not a page of your existing Wix site.

Sources

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

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⁠

Skipbox is made by the team behind Convika.

Share this article

Give your HTML page a link to put on your Wix site

Upload the file once and publish it, scripts and all. Link it from a Wix button, on phones and computers alike.

Get a link for my HTML file

Free plan: no credit card, 1 published page.