Base64 encoder and decoder
Encode text to Base64 or decode it back.
Escape special characters as HTML entities, or turn entities back into text.
Your files stay on your device
This tool runs in your browser. Your files are never uploaded to a server.
The ampersand and the less-than sign always. Quotes need escaping inside attribute values. This tool escapes all five common ones so the result is safe in both places.
Escaping text for the place it is used is the main defence, but the right escaping depends on the context, such as an attribute, a script block or a URL. Use your framework's own escaping for real pages.
It reads entities exactly as a browser does, including the full named list, and it never runs scripts, so pasting untrusted HTML is safe.
Decoding turns into a real non-breaking space character, which looks like a normal space but is a different character.
Yes. Decoding works for any character. With the non-ASCII option, an emoji is written as one numeric entity, not two surrogate halves.