Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1    Statistic  


Encode a base64 URL string.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Text 7.5 Yes Yes Yes Yes Yes

MBS( "Text.EncodeToBase64URL"; text { ; encoding } )


Parameter Description Example value
text The text to process. "Hello World"
encoding Optional
The text encoding for text parameter.
Default is native.


Returns encoded text.


Encode a base64 URL string.
Please check what text encoding you want to use. Especially what the software processing the base64 string expects.
Similar to normal Base64, but + replaced by - and / by _ and the = on the end are omitted.


Encode Base64 as UTF-8:

MBS( "Text.EncodeToBase64URL"; "Hello World"; "utf8" )

Example result: "SGVsbG8gV29ybGQ"

Encode with/without URL option:

MBS( "Text.EncodeToBase64URL"; "Hello World? öäü"; "UTF-8" ) & ¶ &
MBS( "Text.EncodeToBase64"; "Hello World? öäü"; "UTF-8" )

See also

Text.EncodeToBase64   -   Text.EncodeToBytes

Feedback: Report problem or ask question.

MBS FileMaker Plugins