Skip to content

Base64 Url Safe Encode ​

Encodes a string to Base64, then encodes the result for use in a URL.

Example ​

liquid
{{ 'a?b>' | base64_url_safe_encode }}

Output

html
YT9iPg%3D%3D