Noformat Macro

The Noformat macro displays a block of text in monospace font with no other formatting.

Using the Noformat Macro

To add the Noformat macro to a page:

  1. In the Confluence editor, choose Insert > Other Macros
  2. Find and select the required macro

Speeding up macro entry with autocomplete: Type { and the beginning of the macro name, to see a list of suggested macros. Details are in Autocomplete for links, files, macros and mentions.

To edit an existing macro: Click the macro placeholder and choose Edit. A macro dialog window will open, where you can edit the parameters of the macro.

Enter the content that is to be unformatted into the body of the macro placeholder.


Parameters are options that you can set to control the content or format of the macro output. Where the parameter name used in Confluence storage format or wikimarkup is different to the label used in the macro browser, it will be listed below in brackets (example).




No Panel


Removes the panel around the content.

Code examples

The following examples are provided for advanced users who want to inspect or edit the underlying markup for a Confluence page. 

Macro name: noformat

Macro body: Accepts plain text.

Storage format example

Wiki markup example

Was this helpful?

Thanks for your feedback!

Why was this unhelpful?

13 Archived comments

  1. User avatar

    KC Baltz

    Note: The second example is incorrect in the "What you need to type" column. It should be:

    I do not want this text formatted!

    11 Nov 2006
    1. User avatar

      Guy Fraser (Adaptavist)

      Nope, it should be:

      I do not want this text formatted!

      11 Nov 2006
      1. User avatar

        Andreas Knecht

        Sorry about that. I've just fixed up the docs, with the correct syntax.

        19 Feb 2007
  2. User avatar


    this has frustrated me a lot, I have used other Wikies, but with Confluence, just entering an inline CamelCase word in mono-spaced font seems impossible without Confluence having to interpret this as a WikiWord. All I want to do is write a name of a Java class, and not create a new page. Can someone help?

    Thanks in advance.

    15 Feb 2008
    1. User avatar

      Bob Swift [Bob Swift Atlassian Add-ons]

      CamelCase is an option under Administration->General configuration/ I always turn it off.

      15 Feb 2008
  3. User avatar


    Is there any way I could create a user macro based on this that would have the monospace and formatting preserved, but could still recognize other macros or links etc. So for example:

    I want this text      formatted
           like this {user-macro} and use this macro {user-macro}
    and this [link|some page].
    27 Jun 2008
    1. User avatar

      Tony Cheah Tong Nyee

      Hi there,

      You might be interested to try the Panel macro which allows macro/wiki markup rendering within the "block" and hence allow using the monospace markup too.
      If you are keen to create your own User Macro or Macro, feel free to refer to the link included for more information regarding the modules respectively.


      02 Jul 2008
  4. User avatar

    Daniel O'Connor

    Hi All,

    I find that if I use the noformat macro inside columns, that unless I manually break up paragraphs, that my noformat will break the columns.

    This has only started to happen recently. Is this a known issue? It would be nice if the nonformatted text-box still followed the formatting of the rest of the page, even if the code inside doesn't.



    16 Sep 2008
    1. User avatar

      Ming Giet Chong

      Hi Dan,

      Could you please raise a support ticket at with a sample wiki markup used for this issue. So that we can further investigate to this issue. Thanks.


      30 Sep 2008
  5. User avatar


    Hi all,

    May I use the following code to display white characters on a black screen, looks like it's not working......

    Thanks in advance.


    13 Aug 2009
    1. User avatar

      Zed Yap [Atlassian]

      Hi Jeff,

      I am afraid the color macro will not affect the text in the noformat macro.
      I have a mere suggestion. You can try to create a User macro with style script in it. I have create an example:

      1. Create a User macro via Confluence admin >> User Macros
      2. Enter the following:
      3. Save the changes
      4. Now apply the following code to a page:

      Hope that helps.
      Best rgds

      14 Aug 2009
      1. User avatar

        Peter Riemann

        Hi Zed,

        i was looking for the same (black box, white text und no formating). I use it to display text that looks like a dos prompt or a console.

        So I tried out your suggestion which works very well. I find out that the text within every noformat-macro turns to white. Which means that I cannot combine black-on-white and white-on-black. 

        That is not a big problem if only noformat-macros are affected. I tested panel-macro and info-macro which are not affected by the style-command. Can you give me some background informations about the impacts of using the TestColor-macro?

        Thanks in advance


        16 Feb 2011
  6. User avatar

    Billy Schneider

    Is it no longer possible to specify "borderStyle", "title", or other options to the noformat macro in Confluence 4 as it was in previous versions?! I also just here tried to make borderStyle and title words preformatted using the brackets ({{ and }}), which again does not appear possible. It seems to be either the entire paragraph formatted, or nothing.

    11 Oct 2011
Powered by Confluence and Scroll Viewport