# New Formula: URL Encoder

**URL:** <https://community.fibery.io/t/new-formula-url-encoder/6310>\
**Category:** Ideas & Features\
**Created:** [June 18, 2024, 3:02pm UTC](https://community.fibery.io/t/new-formula-url-encoder/6310 "2024-06-18T15:02:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![helloitse](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/helloitse/32/498_2.png) [@helloitse](https://community.fibery.io/u/helloitse)\
**Post date:** [June 18, 2024, 3:02pm UTC](https://community.fibery.io/t/new-formula-url-encoder/6310/1 "2024-06-18T15:02:20Z")

</div>

It would be great to have encode and decode formulas generating URLs.

---

<div class="post-metadata">

**Author:** ![Matt\_Blais](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/matt_blais/32/1464_2.png) [@Matt\_Blais](https://community.fibery.io/u/Matt_Blais)\
**Post date:** [June 19, 2024, 3:19pm UTC](https://community.fibery.io/t/new-formula-url-encoder/6310/2 "2024-06-19T15:19:58Z")

</div>

Related - [Add "Title" for URL type fields](https://community.fibery.io/t/add-title-for-url-type-fields/5241)

---

<div class="post-metadata">

**Author:** ![helloitse](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/helloitse/32/498_2.png) [@helloitse](https://community.fibery.io/u/helloitse)\
**Post date:** [June 20, 2024, 12:13pm UTC](https://community.fibery.io/t/new-formula-url-encoder/6310/3 "2024-06-20T12:13:04Z")

</div>

@Matt_Blais I’m not sure that request is related but I’d love to hear more about how you’d use an encode/decode formula!

I’d like to generate prefilled urls for forms and links and pass fields from Fibery in. At present I can’t use a calculation to generate that url since they won’t encode spaces or special characters.

I’m sure I could use regex but that’s not no code at that point.

---

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [June 20, 2024, 12:57pm UTC](https://community.fibery.io/t/new-formula-url-encoder/6310/4 "2024-06-20T12:57:45Z")

</div>

> [@helloitse](#):
>
> I’d like to generate prefilled urls for forms and links and pass fields from Fibery in. At present I can’t use a calculation to generate that url since they won’t encode spaces or special characters.

Have you tried sharing a form with a prefilled value containing spaces? It works fine for me.  
Are there specific characters that you have found that don’t work?

---

<div class="post-metadata">

**Author:** ![helloitse](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/helloitse/32/498_2.png) [@helloitse](https://community.fibery.io/u/helloitse)\
**Post date:** [June 21, 2024, 10:26am UTC](https://community.fibery.io/t/new-formula-url-encoder/6310/5 "2024-06-21T10:26:41Z")

</div>

If it has a space it’s not a url.

[https://www.w3schools.com/tags/ref\_urlencode.ASP](https://www.w3schools.com/tags/ref_urlencode.ASP)

But, you may have seen your web browser step in and redirect.
