---
title: "Share a file or folder with a link"
description: "Send members straight to a file, or give anyone read-only access to a file or folder, with an optional password and a pinned version."
canonical_url: "https://trytree.house/docs/sharing/share-links"
last_updated: "2026-09-29"
---

# Share a file or folder with a link

Send members straight to a file, or give anyone read-only access to a file or folder, with an optional password and a pinned version.

Every file and folder has two kinds of link, both in the **Share** tab of the right-hand panel:

- **A member link** goes straight to the file in the workspace. It only works for signed-in members, so it's for pointing a teammate at something.
- **A public link** lets anyone who has it read the file or folder, with no account. It's for clients, readers and anyone outside the team.

## Copy a member link

1. Open the file, or select the folder.
2. In the right-hand panel, open the **Share** tab.
3. Under **Members of this workspace**, select **Copy member link**.

## Create a public link

Public links have to be created by a person signed in to the web app. Agents and API keys can create member links, but not public or password-protected ones, so a leaked key can never open your files to the world.

1. Open the file, or select the folder, and open the **Share** tab.
2. Under **Anyone with the link**, select **+ Create public file link** (or **+ Create public folder link**).
3. Optionally, tick **Password protect** and enter a password. Visitors will need it to see anything.
4. For a file, choose a **Link target**:
   - **Live (always latest)** shows whatever the file says now, and keeps up as it changes.
   - **Pinned to v***N* keeps showing this exact version, even after the file changes. Use this for anything you're sending to a client as final.
5. For a single HTML file, you can also tick **Let the page run its scripts**. See [HTML pages](https://trytree.house/docs/files/html-pages) before you do.
6. Select **Create public link**. The link is copied to your clipboard.

![The Share tab for a file, with a public link showing its view count and Copy and Revoke buttons](https://trytree.house/docs/images/share-panel.webp)

Each file or folder has one public link. Once it exists, the panel shows how often it's been opened ("12 views · last opened 2 hours ago", or "Not opened yet"), a lock if it has a password, the pinned version if there is one, and **Copy** and **Revoke** buttons.

A folder link covers everything inside that folder, including files added later. It doesn't cover anything outside it, even a sibling folder with a similar name. If a parent folder is already public, the panel says **Shared publicly via a parent folder** and links to it: manage that link from the folder.

[Private files](https://trytree.house/docs/files/private-files) and folders can't be shared publicly. If something inside a public folder is made private later, it drops out of the share.

## Revoke a public link

1. In the **Share** tab, select **Revoke**.
2. Select **Confirm revoke**.

The link stops working immediately, including for anyone who already entered the password. Visitors see "This link is no longer available." To share again, create a new link: it will have a different address.

## What visitors see

![A shared folder as a visitor sees it, with a read-only file tree and the folder's README as its front page](https://trytree.house/docs/images/public-share.webp)

- **A file link** shows the one document, rendered the same way it is in the workspace.
- **A folder link** shows a read-only file tree with **Search files…**, and the folder's [front page](https://trytree.house/docs/files/folder-pages) or calendar view if it has one. Relative links between files in the folder work.
- A password-protected link first shows **Password required**. Visitors enter it and select **Unlock**. A wrong password shows "Incorrect password".
- Images, PDFs and other files can be viewed or downloaded.
- Visitors can't edit, comment, see comments, see history or view a file's source.
- The page uses the workspace's own [theme](https://trytree.house/docs/sharing/customise-your-workspace), with **Shared with Treehouse** and a **Create your own workspace** link in the corner.

A pinned link keeps serving its version. If that version is ever unavailable, the visitor is told so rather than shown a different one.

## Limits

On Seedling, public links in a workspace can be opened **500 times a month**. A view is one visitor opening one link on one day, however many files they look at. Bots and link previews (Slack, iMessage and the like) aren't counted, and neither are members opening member links. There's also a cap on how much data public links can serve.

When a workspace reaches its limit, its public links pause until the next month. Visitors see "This link is temporarily unavailable." and "Please check back shortly.", with no mention of plans. The workspace owner is emailed as the limit gets close and again when links pause. Upgrading brings every link back immediately.

Grove and Forest have no limit on share views. You can see this month's count under **Share views** in the workspace's details panel. See [plans and limits](https://trytree.house/docs/account/plans-and-limits).

## Troubleshooting

### Why won't my public link create?

If the file or folder is private, or sits inside a private folder, Treehouse refuses to share it. Private items can only be seen by their owner. If you want it public, make it no longer private first ([private files](https://trytree.house/docs/files/private-files) explains how).

### Why can't my agent create a public link?

By design. Agents and API keys can only create member links. Ask a person to create the public link in the web app.

## Related

- [Invite people to a workspace](https://trytree.house/docs/sharing/invite-people): Bring teammates into a workspace with an invite link, see who's a member, and remove people when they no longer need access.
- [Publish an HTML page](https://trytree.house/docs/files/html-pages): Show HTML files as full pages, decide when their scripts may run, and share them publicly as reports, dashboards or decks.
- [See and restore earlier versions](https://trytree.house/docs/files/version-history): Look through every change to a file, see who made it, view or restore an older version, and catch up on what changed while you were away.
- [Plans and limits](https://trytree.house/docs/account/plans-and-limits): What Seedling, Grove and Forest include, how usage is counted, and what happens when a workspace reaches a limit.
