Choose the transform appropriate to the destination
Encode the string hello world as a URL parameter and confirm the space is represented safely.
Base64, URL and HTML encode/decode workflows in one utility.
Escaping transforms text for a specific context; decoding reverses that transform only when the correct method is selected.

Encode the string hello world as a URL parameter and confirm the space is represented safely.
Encode URL characters or decode Base64 and HTML entities.
Use the correct encoding mode for your input.
Encode the string hello world as a URL parameter and confirm the space is represented safely.
The text 'red & blue' needs URL-safe encoding before becoming a query parameter value; Base64 is a different representation and does not replace URL escaping.
Use the real tool above to verify the result. The example illustrates the workflow, not a guaranteed outcome.
The text 'red & blue' needs URL-safe encoding before becoming a query parameter value; Base64 is a different representation and does not replace URL escaping.
Encoding is reversible formatting, not confidentiality. Do not mistake Base64, HTML escaping or URL encoding for encryption.
Encode or decode a text value using Base64. The text “Hi” becomes SGk= in standard Base64; decoding should reconstruct those same characters.
Base64 is encoding, not encryption.
Open Base64 mode →Escape angle brackets before showing literal markup. Convert the literal <b>hello</b> into escaped markup before displaying it as text in an HTML page.
HTML escaping is not a substitute for full input sanitization.
Open Html Escape mode →Percent-encode URL parameters before constructing links. A space in a URL query value may become %20; make sure an already encoded value is not encoded twice.
Avoid double-encoding an already encoded value.
Open Url Code mode →
Escaping transforms text for a specific context; decoding reverses that transform only when the correct method is selected.
Escaping transforms text for a specific context; decoding reverses that transform only when the correct method is selected.
Encode the string hello world as a URL parameter and confirm the space is represented safely.
The text 'red & blue' needs URL-safe encoding before becoming a query parameter value; Base64 is a different representation and does not replace URL escaping.
Encoding and encryption solve different problems. Base64 transforms bytes into an ASCII-friendly representation useful in data URLs and transport protocols; it does not hide secrets. Anyone receiving a Base64 string can decode it if the encoding is known. URL encoding replaces reserved characters so they can be placed safely in the appropriate part of a URL; for example, a space in a query value may be represented as %20. Neither method provides confidentiality or proves that the text came from a trusted person.
For URL components, encode values rather than blindly applying the same operation to an entire assembled URL. Encoding the slash in a path segment can be appropriate, but encoding structural separators across a full URL may prevent the browser from recognizing its scheme and query string. Similarly, decoding untrusted URL text multiple times can produce different interpretations of percent signs. Keep track of how many transformations were applied and test round-trip behaviour on a harmless example first.
A character string is not the same as a sequence of bytes. The letter A is a single UTF-8 byte, while many accented characters and Hindi letters use multiple UTF-8 bytes. A Base64 encoder that works with Unicode text must encode a defined byte representation before performing Base64 conversion. If decoding produces corrupted symbols, verify the encoding assumption rather than guessing that the input is meaningless. Emoji and non-Latin sample text provide useful tests because ASCII-only implementations sometimes appear correct until these characters are used.
An HTML entity is another representation issue: & displays an ampersand in ordinary HTML text. Escaping text for insertion into an HTML document differs from escaping values for JavaScript strings, CSS, SQL or a URL. A utility that offers one encoder mode must not be assumed to sanitize input safely for every context. After decoding a sample, inspect whether the output contains markup characters and do not insert it into a trusted page without appropriate context-specific escaping.
For a round-trip test, encode "Hello & नमस्ते" with a supported Unicode-safe mode and then decode the result; the recovered string should match the original character-for-character. This check detects mismatched modes and lost encoding information. When producing a Base64 data URL, its media type matters because browsers use that prefix to interpret bytes. If decoding fails, look for missing padding, whitespace, a wrong alphabet or double encoding before modifying random characters. Keep original source text available until the output has been confirmed.
The percent sign in a URL-encoded value is itself a character that can be encoded. A space encoded as %20 may become %2520 when the percent sign is encoded a second time. A server decoding once then sees literal %20 instead of a space. Record whether a field expects raw text or an already-encoded component; apply the correct transformation once. This is especially important for paths and query values containing percent signs, plus symbols or non-English characters.
If a query parameter contains the text “tea & coffee”, a URL component encoder makes the ampersand safe inside the value so it is not mistaken for a separator. By contrast, HTML escaping is about displaying characters like < and & as text within a page. A Base64 result is a reversible encoding, not a secret: anybody with the string can decode it. Select the appropriate operation for the target context rather than repeatedly encoding already encoded output. In particular, double encoding a percent sign can make a link behave unexpectedly when one application decodes only once.
Encode or decode a text value using Base64. The text “Hi” becomes SGk= in standard Base64; decoding should reconstruct those same characters.
Escape angle brackets before showing literal markup. Convert the literal <b>hello</b> into escaped markup before displaying it as text in an HTML page.
Percent-encode URL parameters before constructing links. A space in a URL query value may become %20; make sure an already encoded value is not encoded twice.
No. Percent-encoding makes characters safe in URL contexts; it does not keep data secret.
Context-appropriate escaping prevents data characters from being interpreted as markup; URL encoding alone is not the correct defence for every HTML context.
Base64 is reversible without a password or secret key, so it provides no confidentiality.
An encoded percent sign often becomes %25; repeated conversion can turn one intended escape sequence into another.