> ## Documentation Index
> Fetch the complete documentation index at: https://docs.box.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Box Doc Gen limitations

Box Doc Gen has several limitations across APIs, security, performance, language support, and template features that you should consider when implementing document generation.

## API limitations

| **Item** | **Limit** |
| - | - |
| Maximum template size | 100 MB |
| Maximum JSON data size | 100 KB |
| Number of tags | No fixed limit |

## Box security limitations

Box Doc Gen must be able to access templates to generate documents. If a template is restricted by a Box Shield classification policy, document generation fails.

Ensure your Box Shield classification policy allows Doc Gen access to required templates.

## Performance limitations

Performance varies based on template size and document complexity.

For templates smaller than 1 MB:

* Most documents (95%) generate in under 15 seconds when processing up to 50 documents per minute per enterprise.
* The system remains stable at up to 80 documents per minute, but generation time can exceed 15 seconds at higher volumes.

## Language limitations

Box Doc Gen supports English-only template tags. Other content can use any language.

| **Component** | **Language support** |
| - | - |
| Template tags | English only |
| JSON data and document content | Any language |
| Computations, conditions, and calculations | English strings or numeric values only |

Box recommends testing templates to confirm language compatibility for your use case.

## Template limitations

Box Doc Gen uses Microsoft Word as the template authoring environment. Some Word features are not supported.

| **Microsoft Word feature** | **Supported** |
| - | - |
| Headers and footers | Yes |
| Tags with comments | No |
| Developer controls (text box, check box, combo box, options, frame, protected forms) | No |
| Link tags | No |
| Bookmarks | No |
| Different headers/footers per page | No |
| Emojis | No |
| Custom fonts | No |
| [Text layout](https://learn.microsoft.com/en-us/globalization/fonts-layout/text-layout) | No |
| [Text directionality](https://learn.microsoft.com/en-us/globalization/fonts-layout/text-directionality) | No (Left-to-right only) |
| [Text boundaries](https://learn.microsoft.com/en-us/globalization/fonts-layout/text-boundaries) | No |
| [Text alignment and pagination](https://learn.microsoft.com/en-us/globalization/fonts-layout/pagination) | No |
| [Text justification](https://learn.microsoft.com/en-us/globalization/fonts-layout/text-justification) | No |
| [Line and word breaking](https://learn.microsoft.com/en-us/globalization/fonts-layout/line-and-word-breaking) | No |
| [Ruby characters and text annotation](https://learn.microsoft.com/en-us/globalization/fonts-layout/ruby) | No |
| Objects, shapes, 3D models, icons, graphs | No |
| Media, video or audio | No |
