How to keep text from overflowing (Text Autofit)
Choose how text behaves when it doesn't fit its box — so dynamic content never breaks your design
When text changes — especially via API — a long value can outgrow its box. Text Autofit decides what happens then, per layer.
Set it in two clicks#
- Select a text layer on the canvas
- In Styles, find Text Autofit and pick a mode

The four modes#

| Mode | What happens | Best for |
|---|---|---|
| Overflow | Text displays in full, extending beyond the box | Fixed text you control |
| Truncate | Text clips with an ellipsis (…) | Titles from feeds or user input |
| Fit | Text auto-shrinks to fit the box | Headlines that change via API |
| Flow | Text continues across pages automatically | Long documents and PDFs |
Set a minimum size for Fit#
With Fit, also set Min. Font Size — text shrinks no further than this, keeping it readable even with very long values.

Rendering dynamic text?
Use Fit on any parameterized headline. A 60-character product name will shrink to fit instead of spilling over your design — no manual fixes needed.
Related#
More in Orshot Studio
Ready to automate?
Start rendering images, PDFs and videos from your templates in under 2 minutes. Free plan, no credit card.
Get your API key- Image, PDF and video generation via API
- Visual editor with AI and smart layouts
- Zapier, Make, MCP and 50+ integrations
- White-label embed for your own app
- 30 free credits — no credit card required