Skip to main content
OGify has built-in support for Right-to-Left (RTL) languages like Arabic, Hebrew, and Persian.

Enabling RTL

To enable RTL support, simply pass isRTL: true in the options object when calling renderToImage.
To display the text correctly, you must use a font that supports the specific language characters. We recommend checking Google Fonts for a wide selection of compatible fonts.
RTL

Template Support

All built-in templates (like basic) fully support RTL. In custom JSX templates, use isRTL with clsx for conditional layout:
Always test your templates with RTL content to ensure proper layout and text alignment.