# {urlencode} for URLs

**URL:** <https://community.blaze.today/t/urlencode-for-urls/35453>\
**Category:** Questions and Help\
**Created:** [February 6, 2024, 10:21pm UTC](https://community.blaze.today/t/urlencode-for-urls/35453 "2024-02-06T22:21:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abby\_Buccino](https://community.blaze.today/user_avatar/community.blaze.today/abby_buccino/32/4908_2.png) [@Abby\_Buccino](https://community.blaze.today/u/Abby_Buccino)\
**Post date:** [February 6, 2024, 10:21pm UTC](https://community.blaze.today/t/urlencode-for-urls/35453/1 "2024-02-06T22:21:30Z")

</div>

Hello TextBlaze team,

I am using the {urlsend} + {urlencode} features to submit google form responses based on snippet use (found the idea [here](https://community.blaze.today/t/saving-snippet-forms-to-google-spreadsheets/276)). These responses are occasionally URLs, but when I try to encode the URLs it causes an error. Is there anyway to encode a URL within the {urlsend} feature?

Thanks!  
Abby

---

<div class="post-metadata">

**Author:** ![Obed\_Parlapiano](https://community.blaze.today/user_avatar/community.blaze.today/obed_parlapiano/32/9313_2.png) [@Obed\_Parlapiano](https://community.blaze.today/u/Obed_Parlapiano)\
**Post date:** [February 7, 2024, 10:06am UTC](https://community.blaze.today/t/urlencode-for-urls/35453/2 "2024-02-07T10:06:04Z")

</div>

Hello Abby,

The urlencode() function should work fine with URLs, or any text. It would be super helpful to see your snippet and an example of a response that's causing the error to understand what could be causing it.

We can continue the conversation here or you can send me an email at [obed@blaze.today](mailto:obed@blaze.today).

---

<div class="post-metadata">

**Author:** ![Abby\_Buccino](https://community.blaze.today/user_avatar/community.blaze.today/abby_buccino/32/4908_2.png) [@Abby\_Buccino](https://community.blaze.today/u/Abby_Buccino)\
**Post date:** [February 7, 2024, 4:34pm UTC](https://community.blaze.today/t/urlencode-for-urls/35453/3 "2024-02-07T16:34:41Z")

</div>

Hi Obed,

I'll email you. Thanks!

Abby

---

<div class="post-metadata">

**Author:** ![Abby\_Buccino](https://community.blaze.today/user_avatar/community.blaze.today/abby_buccino/32/4908_2.png) [@Abby\_Buccino](https://community.blaze.today/u/Abby_Buccino)\
**Post date:** [February 7, 2024, 4:55pm UTC](https://community.blaze.today/t/urlencode-for-urls/35453/4 "2024-02-07T16:55:50Z")

</div>

I have found the source of the issue: It's URL length limits 🥲. Do you have any creative solutions for this problem? Thanks! Abby

---

<div class="post-metadata">

**Author:** ![Obed\_Parlapiano](https://community.blaze.today/user_avatar/community.blaze.today/obed_parlapiano/32/9313_2.png) [@Obed\_Parlapiano](https://community.blaze.today/u/Obed_Parlapiano)\
**Post date:** [February 7, 2024, 5:14pm UTC](https://community.blaze.today/t/urlencode-for-urls/35453/5 "2024-02-07T17:14:36Z")

</div>

Is the limit causing an error when you submit it to Google Forms, or when it's passed to `urlencode` within Text Blaze? I just tested with an extremely long URL (32000 characters) and had no issue with `urlencode`.

If the issue is with google forms, that seems more tricky. If you have full control of the snippet, and too many information to upload, perhaps you can have two different forms, one for all your data, and one only to store the cases where you have those long URLs. If you could have a common id between the submissions you could join them (by hand or other method depending on how many entries you have).

I hope that's of some help Abby!
