Add a "Back to Top" link in Confluence Cloud pages
Platform Notice: Cloud Only - This article only applies to Atlassian apps on the cloud platform.
Summary
In Confluence Cloud, there is currently no built-in "Back to Top" button or macro. This is a common request from users who want to improve navigation on long pages. There is an open feature request covering this ask: CONFCLOUD-82330: Add a "Back to Top" Button in Confluence Cloud to improve navigation on Long Pages.
In the meantime, you can achieve similar functionality using the Anchor macro as a workaround.
Solution
For more details on how Anchor macros function, please refer to our documentation: Insert Links and Anchors in Confluence Cloud.
Step 1: Insert an Anchor at the top of the page
Edit your Confluence page.
Place your cursor at the very top of the page.
Insert the Anchor macro (type
/anchor
in the editor).Give the anchor a simple name, such as
top
.
Step 2: Link to the Anchor
Scroll to the bottom (or wherever you want the "Back to Top" link).
Insert a link to the anchor you created:
Highlight the text you want to use (e.g., "Back to Top").
Click the link icon.
Enter
#top
as the link target.
Result: Clicking the "Back to Top" link will jump the user to the top of the page.
Please note, this is a manual workaround; there is no floating button or automatic macro. Each page must be edited individually to add the anchor and links.
Was this helpful?