How to publish HTML from Mistral chat

Mistral's Le Chat has a Canvas mode that writes and previews web pages right next to your conversation — but the preview stays locked inside Le Chat. To put the page on an address other people can open, you need a host. This takes about 30 seconds.

  1. 01

    Open Canvas or the code block

    In Canvas, flip from the preview to the code view to see your HTML. In a plain chat answer, scroll to the code block that holds the page.

  2. 02

    Copy the code

    Use the copy button on the code view. If Le Chat produced separate files, ask it to merge everything into one index.html — one file is the easiest thing to publish.

  3. 03

    Save it as index.html

    Paste the code into any text editor — Notepad, TextEdit, VS Code — and save the file as index.html. The name matters: it's what browsers treat as your homepage.

  4. 04

    Drop it in the box below

    Drag index.html (or the whole folder) into the upload box on this page and hit publish. Your site gets its own web address instantly.

  5. 05

    Share your link

    That's it — send the URL to anyone. You can rename the site, update the files, or delete it from your dashboard whenever you like.

Drop your Mistral HTML here

One file or a whole folder — you'll get a live link the moment it's published.

Drag your website here

Drop a folder with your index.html — or just paste HTML from your clipboard — and we'll put it online in seconds. No setup, no config, no headaches.

Or let Mistral publish it for you

Skip the copying entirely. Copy our ready-made instructions, paste them into your Mistral conversation, and it can upload the site through our API — you get back a live link and a private claim link to take ownership.

Working in a terminal instead? Run npx hosting — no account needed.

Mistral publishing questions

Can Le Chat publish my Canvas page to the web?

No — Canvas previews the page for you, but there's no hosting behind it. Copy the code out, drop it here, and your page gets its own public URL that works for anyone.

Does it matter which Mistral model wrote the code?

Not at all. HTML is HTML — whether it came from Mistral Large or a small model, save it as index.html and drag it into the box below.

What's the easiest way to publish HTML from Mistral?

There are three. Easiest: copy the HTML from Mistral and paste it into the box on this page — we turn it into a live site instantly. Long term: install our browser extension and publish from AI chats with one click. Hands-off: copy our AI instructions into your Mistral conversation and it publishes through our API for you.

Do I need an account to publish?

Publishing from this page takes a free account, so your site has a home in your dashboard. Prefer no sign-up? Run npx hosting in a terminal — it deploys without an account and gives you a private claim link for later.

What if Mistral gave me more than one file?

Put everything in one folder — index.html at the top, plus any CSS, JavaScript, and images it references — and drag the whole folder into the box. Up to 500 files and 50 MB per site.

How much does it cost, and how long does the site stay up?

It's free, and published sites don't expire — they stay live until you delete them from your dashboard. Re-upload anytime and the link stays the same.

Using a different AI chat?

The recipe is nearly identical everywhere — pick your tool for the exact steps.