Text Encoder
ℹ How it works
Convert text between Base64, URL encoding, and HTML entity escaping. All transformations run locally in the browser — input never leaves the page. Useful for encoding strings safely for URLs, embedding binary data in text formats, or escaping characters in HTML output.
FAQ
- Is my input sent to a server?
- No. All encoding runs in your browser via JavaScript. The page makes no network requests after it loads — you can verify this in your browser's developer tools.
- When should I use Base64 vs. URL encoding?
- Base64 encodes binary data as ASCII text — useful for embedding images in CSS or passing files through text-only channels. URL encoding (percent-encoding) escapes special characters in URLs so they survive HTTP parsing. They solve different problems and produce different output for the same input.
- Does this work with Unicode?
- Yes. The encoder handles full Unicode input via UTF-8 byte sequences. Multi-byte characters (emoji, CJK, accented letters) round-trip correctly through all three encoding modes.