Macros are powerful tools that help you to extend the capabilities of your Confluence pages, allowing you to add extra functionality or include dynamic content. You know you've inserted a macro onto the page because macros present you with additional parameters in a modal window. For example, insert the Table of Contents macro to display all the headings on your page as clickable links or use the Attachments macro to list files attached to a page.

Macros require more setup than the basic elements or formatting tools you can insert.  You know you've inserted a basic element because those items just give you a few options in the floating toolbar.  For example, insert a Status lozenge or a Date, or applying formatting to text like a Quote or a Heading.  

Use a macro

To add a macro:

  1. In the Confluence editor, select  > View more
  2. Find the item to be inserted and select it
  3. Select Insert

You can also type / onto the page to bring up the same list you'd see by selecting from the toolbar.

To edit a macro:

  1. Select the macro placeholder. The floating toolbar appears.
  2. Select Edit. The right panel opens.
  3. Modify the parameters. Your changes are saved as you go.
  4. Resume editing the page, and the panel closes.


Many macros have optional parameters you can use to control the macro's output.

With the Attachments Macro, for instance, you have two optional parameters allowing you to:

  • Specify the file formats of the attachments displayed
  • Choose whether or not you want old versions of the attachments displayed


Macro placeholders are displayed in the editor where you have added a macro to the page.

When editing a page, you can:

  • Double-click a macro placeholder (or click the placeholder and choose Edit) to open the macro dialog window and edit the macro's parameters
  • Select a macro placeholder to cut, copy and paste the macro

Macros in the legacy editor only

Below is a list of the macros available in the legacy editor.

Click a macro name for details of the usage, including optional parameters and examples.

For alternate methods for accomplishing the goal of older macros, check out these suggestions.

Macros available in both editors

Below is a list of the macros available in both editors.

Click a macro name for details of the usage, including optional parameters and examples.

Macros from the Marketplace

Many more macros are available from the Atlassian Marketplace.