Base64 Encoder
Encode text to Base64, with full UTF-8 support.
Runs locally · Nothing uploaded
Plain text
Base64
Result will appear here…Advertisement
About Base64 Encoder
Encodes any text — including emoji and non-Latin scripts — to standard Base64. Input is converted to UTF-8 bytes first, so multi-byte characters round-trip correctly, unlike naive btoa usage. Use it for data URIs, basic auth headers, or embedding small payloads in JSON.
Related tools
EncodingRuns locally in your browser.Base64 DecoderDecode Base64 back to readable text, including UTF-8 content.EncodingRuns locally in your browser.URL EncoderPercent-encode text so it is safe to place in URLs and query strings.Files & MediaRuns locally in your browser.Image to Base64Encode an image as a Base64 data URI for inline embedding.API & HTTPRuns locally in your browser.Basic Auth EncoderBuild a Basic Authorization header from username and password.