Encode & Decode URLs and HTML
%20 = Space
%26 = &
%3D = =
%3F = ?
%2F = /
%C3%BC = ü (UTF-8)
< = <
> = >
& = &
" = "
= Space
€ = € (decimal)
URL encoding (percent-encoding) converts special characters to %XX format for safe transmission in URLs. For example, space becomes %20, & becomes %26.
HTML entities represent special characters in HTML. For example, < becomes <, > becomes >, & becomes &. This prevents XSS attacks and display issues.
URL encode when: passing data in query strings, creating links with special characters, or working with APIs. Characters like &, =, ?, and spaces must be encoded.
encodeURI encodes a full URL (preserves :, /, ?, #). encodeURIComponent encodes everything, used for query parameter values. This tool supports both.
HTML encoding prevents XSS (Cross-Site Scripting) attacks by converting < > & " to entities. User input displayed in HTML should always be encoded.
Category:
Developer Tools →Encode text or files to Base64, or decode Base64 back to its original form. Supports URL-safe Base64...
Format, validate, minify, and explore JSON data. Interactive tree view with syntax highlighting and ...
Build and understand cron expressions visually. Schedule tasks with human-readable explanations and ...