When you upload files to Confluence, you can display them on the page as either a thumbnail or a link.
You can control how the file appears on your page. The options available depend on the type of file.
To upload a file, you'll need the Add Attachments space permission.
Pages in your site may use the new editor or the legacy editor. This page explains how to use both editors.
Use these links to jump to the section detailing the editor you use:
Which editor does your page use
When you edit a page, you can look over the toolbar for visual indicators, like the differences between the text color pickers or the inclusion of an emoji icon in the new editor toolbar. You'll also notice that the Publish and Close buttons were moved to the top right in the new editor.
This section provides the details for displaying files and images using the new editor.
Insert a file or image into your page
Inserting a file or image into the page also adds it as an attachment.
There are a few ways to insert a file or image into your page while editing:
- Drag the file directly onto the page to insert and upload it in a single step.
/images, choose Files & images, and upload a file or image.
After an image is inserted, click the image and use the handles on either side to resize it. The image toolbar offers you the following controls:
- Image alignment - determine if the image is aligned to the left side, the right side, and is centered on the page.
- Text wrapping - allow text to be shown on the left or the right of the image.
- Annotation - add text, shapes, lines, and blurred areas
After a file is inserted, it will appear on the page as a tile. The tile with the grey background is what users will see; tiles can't be resized.
Note that while you can add images to a page, you can't add them to templates.
Currently, it isn't possible to add images from the web in the new editor. This also means you can't insert or add a smartlink to a file that is attached to a different Confluence page. Please add your vote to the following issues to express interest in these features:
Delete files from your page
You can delete a file in a few ways when editing a page:
- Select the icon in the floating toolbar for an image
- Select the X icon or the Delete key when focused on a file
To completely remove the file from a page:
- Go to ••• > Attachments when viewing a page and click Delete.
Seeing a failed to load placeholder on your page? That means the attached file has been deleted from the page (or another page).
This section provides the details for displaying files and images using the legacy editor.
Insert a file or image into your page
There are a few ways to insert a file into your page:
- Go to Insert > Files from the editor toolbar and select any of the previously uploaded files.
- Drag the file directly into the editor to upload and insert it in a single step.
- Type ! and choose an attached file from the autocomplete dropdown.
The file will appear on the page as a thumbnail. Tap the thumbnail to resize it or to display it as a link instead.
Insert a file attached to another page
You can display a file that's attached to a different page of the same Confluence site, if you know the name of the file.
To display an image attached to a different page:
- Go to Insert > Files and choose the Search on other pages.
- Enter the name of the file.
- Choose whether to search the current space or All Spaces and choose Search.
- Select the file from the search results and choose Insert.
Insert an image file from the web
You can display an image from a remote web page on your Confluence page, without needing to attach it to your page. You need to know the URL for the image, not for the web page it appears on. This is only available for image files, not other types of files (like documents).
To display an image from a web page:
- Choose Insert > Files, and choose Images from the web.
- Enter a URL for the image (for example,
- Choose Preview to check that the URL and image are correct.
- Tap Insert.
Delete files from your page
If you delete a file or image in the editor, the attached file isn't deleted. When viewing the page, go to ••• > Attachments to delete the attachment completely from the page.
Seeing an unknown attachment placeholder on your page? That means the attached file has been deleted from the page (or another page).
Preview a file
To preview a file, click on the image, thumbnail, or link while viewing the page.
You can preview any file that's displayed on the page, including images from the web, as well as files that are attached to the page but not displayed.
In the preview you can:
- Download the image file.
- Upload a new version of the file (attached files only).
- Comment on the file.
- Zoom in and out, or fit the image to the width of your browser.
- Browse like a slideshow using the next and back buttons.
- See other files attached to the page and select a thumbnail to preview that file.
- Switch to a full screen presentation mode.
You can preview a wide variety of file types, including Office files, PDFs, audio and video files, and most image types.
The image above shows a few of the ways you can interact with the image preview:
- See more files: view other files attached to the same page.
- Manage this file: download the file, upload a new version, or share it with your team.
- Add a comment: drag the pin onto the preview to add a comment.
Show a list of files on a page
There are several ways you can display a list of files on a page. You can:
- Use the Attachments Macro to show files attached to the current page.
- Use the Space Attachments Macro to show all files in a space.
- Use the Gallery Macro to show thumbnails of images attached to a page.
You can also use the File List blueprint for uploading, viewing and managing lists of files.
Displayable file types
This section provides information about the types of files you can display on a Confluence Cloud page. For a list of all file types you can upload, see Accepted file types and size.
Office and PDF files
Inserting a file in a page is a great way to make useful documents, spreadsheets, presentations and other files available to your team.
As with all file types, you can insert the file as a link or as a thumbnail. Thumbnails let readers preview the file's contents. You can resize thumbnails or add a border to offset them from the rest of the page.
To view Office files or PDFs, click the link or thumbnail for a preview (no need to install Excel, Word, or PowerPoint installed). Once you're in the preview, you can download the file to view it offline.
As with other file types, you can view Office files and PDFs in Confluence or comment on them to discuss them with your team.
When editing the page, select an image to show the image properties panel. The panel allows you to set the display size, add a border, and link the image to a Confluence page or other URL.
From the image properties panel you can:
- Enter a width for the image.
- Choose one of 3 preset sizes for the image, or set it to its original size.
- Add a border around the image.
- Link the image to a page or URL.
- Add a title, which is shown when you hover over the image (go to Properties > Title).
- Add alt text, which is used by screen readers and when the image can't be displayed (go to Properties > Title).
The file preview also supports audio and video files. It uses HTML5 to play attached audio and video files. This means the file types people can play in the preview depends on the audio and video formats their browser supports.
As with all file types, when you insert an audio or video file you'll have the option to display it as a thumbnail or as a link on your page.
You can also embed audio and video files (to play within the page) using the Multimedia Macro.
Display online video (such as YouTube or Vimeo videos) using the Widget Connector Macro.