Mã hóa văn bản sang Base64 hoặc giải mã từ Base64
Hãy thử các công cụ khác của chúng tôi
Base64 is an encoding scheme that converts binary data or text into a string of 64 printable ASCII characters. It's widely used to safely transmit data over text-based channels — such as embedding images in HTML, passing binary data in JSON, or encoding authentication credentials in HTTP headers.
The encoded output is about 33% larger than the original but is guaranteed to contain only characters that won't be altered by text-based protocols.
Browser console functions atob and btoa handle Base64 but don't support Unicode strings correctly, often throwing errors on non-ASCII text. ToolPop wraps the encoding in proper UTF-8 handling so it works reliably with any language or character set.