# Small, big and font size in Confluence storage format

URL: https://goingstellar.ro/reference/confluence-storage-format/small-big-font-size/

The storage format documentation lists small and big elements for text size. Storage keeps and renders them, and so it does a font-size span. ADF has no size mark, so an ADF save leaves plain text.

## Storage format

```xml
<small>small text</small>
<big>big text</big>
<span style="font-size: 20px;">font size</span>
```

## Examples

Storage format sent:

```xml
<p><small>small text</small></p>
```

Smaller text as written in the documentation. It renders small, but the ADF read-back has no mark.

Rendered view (HTML):

```html
<p><small>small text</small></p>
```

Storage format after the round trip through ADF:

```xml
<p>small text</p>
```

Sent to Confluence Cloud on 29 Nov 2026.

Storage format sent:

```xml
<p><big>big text</big></p>
```

Larger text as written in the documentation. It follows the same pattern as small.

Rendered view (HTML):

```html
<p><big>big text</big></p>
```

Storage format after the round trip through ADF:

```xml
<p>big text</p>
```

Sent to Confluence Cloud on 29 Nov 2026.

Storage format sent:

```xml
<p><span style="font-size: 20px;">font size</span></p>
```

A font-size style on a span. Storage normalises 20px to 20.0px and the view keeps it, but an ADF save drops the span.

Rendered view (HTML):

```html
<p><span style="font-size: 20.0px;">font size</span></p>
```

Storage format after the round trip through ADF:

```xml
<p>font size</p>
```

Sent to Confluence Cloud on 29 Nov 2026.

## What changes in conversion

- small, big and the font-size span are all kept by storage, but the ADF generated from them is plain text. After an ADF save the text is back at normal size.
- A font size is rewritten with one decimal place on save, so 20px becomes 20.0px.
- No ADF mark for size exists in the probes, so there is no editor-native way to produce these three forms.

## Pitfalls

- Size formatting written through the API does not last. Any later edit in the Cloud editor flattens it.
- Use a heading when the point is hierarchy, since heading levels do survive.

## Questions and answers

### Can Confluence Cloud keep a custom font size?

Not through an ADF save. The font-size span was removed in the probe.

## Related

- [<h1> to <h6> headings](https://goingstellar.ro/reference/confluence-storage-format/headings/)
- [Text color](https://goingstellar.ro/reference/confluence-storage-format/text-color/)
- [<sup> and <sub>](https://goingstellar.ro/reference/confluence-storage-format/superscript-subscript/)
- [HTML that storage format drops](https://goingstellar.ro/reference/confluence-storage-format/unsupported-html/)
- [Storage format vs ADF](https://goingstellar.ro/reference/confluence-storage-format/storage-vs-adf/)

## Sources

- [Confluence storage format (Atlassian Documentation)](https://confluence.atlassian.com/doc/confluence-storage-format-790796544.html)
- [Atlassian Document Format: document structure (Atlassian Developer)](https://developer.atlassian.com/cloud/jira/platform/apis/document/structure/)

