Skip to content

Url Encode ​

Last updated View as Markdown

Encodes a string for use in a URL query. Spaces become +, and other special characters become percent codes.

Example ​

liquid
{{ 'jane@example.com tag' | url_encode }}

Output

html
jane%40example.com+tag