# Upload and publish a document

**Go to Documents → Upload document, drop in your `.html` file, give it a title, and click Publish document. It’s at the top of your list, and private: nobody can open it until you send the links.**

## The two fields

- **Title.** It’s what you’ll see in your list and what shows up in the email your client gets. Leave it blank and we use the file’s `<title>`, which AI tools often leave as something generic like “Document,” so it’s worth filling in. Up to 160 characters.
- **HTML file.** A single `.html` file, up to 25 MB. Drag it in or click to choose it.

## What happens when you click Publish document

1. We check that it’s actually HTML, not a PDF or a renamed `.docx`.
2. We compress the embedded images: we scale them down to 1600 px on the longest side (never up) and strip hidden metadata, like the GPS location on a photo from your phone. After compression, the document has to be 5 MB or less. If we compressed anything, we tell you how much it shrank.
3. The security rules run. If something trips them, we tell you exactly what. See [When a document won’t publish](/en/docs/when-a-document-wont-publish).
4. It’s saved as **version 1** and we take you to the document’s Details.

## Publishing isn’t sharing

This is the part that confuses people at first, and it’s on purpose: **you can upload the document five times while you polish it, and it costs nothing.** Until you send a link, it isn’t a live document, no email goes out, and nobody outside your team can open anything.

If someone types in your document’s address without having gotten their own link, they don’t see the proposal. They see a screen that lets them request access.

## The document address

In the document’s Details you’ll see something like this:

```
yourcompany.cartaventa.io/k3f9x2p7qd4m8s1v6y0zbn
```

That’s the address your client sees in their browser. **Copying it into an email does nothing**: without their personal link, whoever opens it only gets the request-access screen. The link that actually opens the document goes out in the email Cartaventa sends, it’s different for every person, and it’s what lets you cut off one person without touching anyone else.

## Check it before you send it

The **Preview** button, at the top right of the document’s Details, opens the document exactly the way your client will see it: at its own address, with the footer at the bottom. **It doesn’t count as a view.** Always use it before you share. It’s where you catch the things your AI’s preview doesn’t show you.

## Next

If it bounced, read [When a document won’t publish](/en/docs/when-a-document-wont-publish). If it went through, go to [Send the link to your client](/en/docs/send-the-link).
