# Render a Template - supported Twig Filters

**URL:** <https://forum.alumio.com/t/render-a-template-supported-twig-filters/2109>\
**Category:** Alumio Feedback\
**Created:** [June 23, 2025, 9:20am UTC](https://forum.alumio.com/t/render-a-template-supported-twig-filters/2109 "2025-06-23T09:20:20Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![floris](https://forum.alumio.com/letter_avatar_proxy/v4/letter/f/a3d4f5/32.png) [@floris](https://forum.alumio.com/u/floris)\
**Post date:** [June 23, 2025, 9:20am UTC](https://forum.alumio.com/t/render-a-template-supported-twig-filters/2109/1 "2025-06-23T09:20:21Z")

</div>

Hi Alumio,

I’m really happy with the Render a Template / Twig support. But, I’ve tried using it and finding that many filters (which seem innocuous to me) aren’t enabled. So far, I’ve found both `slice` and `length` being disabled. These are important filters (e.g. check on the length of an array, or sub-stringing a string).

Are you working with a ‘whitelist’ of filters in Twig? Could you share which filters are enabled? And is it possible to enable more filters?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![Gugi](https://forum.alumio.com/user_avatar/forum.alumio.com/gugi/32/236_2.png) [@Gugi](https://forum.alumio.com/u/Gugi)\
**Post date:** [June 26, 2025, 7:04am UTC](https://forum.alumio.com/t/render-a-template-supported-twig-filters/2109/3 "2025-06-26T07:04:09Z")

</div>

Hi @floris

Thank you for your feedback.

I agree that the filters are important ones to have when doing templating with Twig. I’ll check with the team to see whether we have the list of enabled/disabled filters. We will get back to you once we have an update.

---

<div class="post-metadata">

**Author:** ![Gugi](https://forum.alumio.com/user_avatar/forum.alumio.com/gugi/32/236_2.png) [@Gugi](https://forum.alumio.com/u/Gugi)\
**Post date:** [June 26, 2025, 10:10am UTC](https://forum.alumio.com/t/render-a-template-supported-twig-filters/2109/4 "2025-06-26T10:10:50Z")

</div>

Hi @floris,

You are correct that we have a list of filters we allow to use in the Template Transformer. Please find the list below.

- upper
- lower
- capitalize
- title
- abs
- round
- escape
- number\_format
- default
- e
- striptags

It should be possible adding more filters, but let me verify with the corresponding team. We will keep you posted.

---

<div class="post-metadata">

**Author:** ![Gugi](https://forum.alumio.com/user_avatar/forum.alumio.com/gugi/32/236_2.png) [@Gugi](https://forum.alumio.com/u/Gugi)\
**Post date:** [June 26, 2025, 11:04am UTC](https://forum.alumio.com/t/render-a-template-supported-twig-filters/2109/5 "2025-06-26T11:04:58Z")

</div>

Hi @floris,

We have a good news that we can add more filters to the list. Could you please provide us with the list of Twig filters that may benefit you and other users?

---

<div class="post-metadata">

**Author:** ![floris](https://forum.alumio.com/letter_avatar_proxy/v4/letter/f/a3d4f5/32.png) [@floris](https://forum.alumio.com/u/floris)\
**Post date:** [June 27, 2025, 10:46am UTC](https://forum.alumio.com/t/render-a-template-supported-twig-filters/2109/7 "2025-06-27T10:46:41Z")

</div>

Hi Gugi,

Thanks for your response!

Honestly, I’d kind of turn it around. I’d say just enable all filters from the Twig documentation ( [Documentation - Twig - The flexible, fast, and secure PHP template engine](https://twig.symfony.com/doc/3.x/) ) unless there are security concerns with the specific filter.

I mean, I could say something useful about all of those filters (like the ‘url\_encode’, though you could ofcourse also do that with Alumio native tools).

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![Gugi](https://forum.alumio.com/user_avatar/forum.alumio.com/gugi/32/236_2.png) [@Gugi](https://forum.alumio.com/u/Gugi)\
**Post date:** [June 27, 2025, 11:11am UTC](https://forum.alumio.com/t/render-a-template-supported-twig-filters/2109/8 "2025-06-27T11:11:38Z")

</div>

Hi @floris,

Thank you for your response. We have passed it to the corresponding team for further check. We will get back to you once we have an update.

---

<div class="post-metadata">

**Author:** ![Gugi](https://forum.alumio.com/user_avatar/forum.alumio.com/gugi/32/236_2.png) [@Gugi](https://forum.alumio.com/u/Gugi)\
**Post date:** [August 13, 2025, 6:29am UTC](https://forum.alumio.com/t/render-a-template-supported-twig-filters/2109/12 "2025-08-13T06:29:15Z")

</div>

Hi @floris,

Thanks for your feedback and interest in this feature! We are happy to let you know that the requested functionality will be available starting from **version 3.94.0**.

In this release, we will support the following Twig **tags** and **filters** :

**Tags**

- `if`
- `for`

**Filters**

- `abs`
- `batch`
- `capitalize`
- `default`
- `e`
- `escape`
- `first`
- `format`
- `join`
- `keys`
- `last`
- `length`
- `lower`
- `nl2br`
- `number_format`
- `replace`
- `reverse`
- `round`
- `striptags`
- `title`
- `trim`
- `upper`
- `url_encode`

You can follow our release notes here to stay updated on the rollout and any changes: [Release Notes](https://forum.alumio.com/c/ipaas-general/release-notes/32)
