Categories
URL Encoder/Decoder
Encode and decode URLs for building dynamic HTTP Request node URLs
encodeURIComponent: Encodes all special characters including
/ ? : @ & = + $ #. Best for query parameter values.Output will appear here...
How to use in n8n
HTTP Request Node
When building dynamic URLs with query parameters, encode user input to prevent URL errors:
URL: https://api.example.com/search?q={{encodeURIComponent($json.searchTerm)}}
Special Characters
Characters like spaces, ampersands (&), and equals (=) can break URLs if not properly encoded.
Understanding URL Encoding
URL encoding (also called percent-encoding) converts characters into a format that can be transmitted over the Internet. This free URL encoder helps you properly format URLs and query parameters.
encodeURI vs encodeURIComponent
- encodeURIComponent - Encodes everything except: A-Z a-z 0-9 - _ . ! ~ * ' ( )
- encodeURI - Preserves URL structure: ; / ? : @ & = + $ , #
Common Characters Encoded
Space →
%20& →
%26= →
%3D? →
%3FNeed Help Building n8n Workflows?
FlowEngine makes it easy to create powerful n8n automation workflows with AI assistance.
Try FlowEngine Free