Brian Dunning's FileMaker Custom Functions

URLEncode ( url )

Encodes a url

  Average rating: 4.7 (20 votes) Log in to vote

Tony Tanevski   Tony Tanevski
Hi-Voltage Melbourne

Share on Facebook Share on Twitter

  Sample input:
URLEncode ( " page" )
  Sample output:

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Use this custom function to encode your urls. For example, a space in a url is not a valid character, but encoding it with %20 is valid.

Tony Tanevski
Hi-Voltage, Melbourne Australia



unin   unin, Japan
Oct 26, 2015
Your sample is wrong. : and / and . in the parameter will be encoded in the result. You need encode each component of URL.
Tony Tanevski   Tony Tanevski, Melbourne
Oct 26, 2015
fixed - thanks for letting me know.
Menno   Menno, Netherlands
Dec 29, 2015
the characters !'()* are allowed in URL's and don't need to be encoded.

Since FileMaker 8.5 there is the function:

GetAsURLEncoded ( tekst )

which does the same as your CF

Log in to post comments.


Note: these functions are not guaranteed or supported by Please contact the individual developer with any questions or problems.

Under construction. Email me your wish list for improvements.