Image to Base64
Encode an image as a Base64 data URL for use in code.
Translate UTF-8 text to Base64 and back. This is text encoding for transport or storage, not encryption.
Loading workspace…
Preparing the controls for this tool. Your files have not been selected or uploaded.Encode UTF-8 text to Base64 or decode a valid Base64 string. Base64 is an encoding, not encryption; do not treat encoded text as a secret.
Your files and inputs are processed in your browser and are not uploaded. Download or copy results before leaving. Normal site and library requests still reach the hosting service.
Encoding Hello produces SGVsbG8=. Decoding that value returns Hello. Unicode text is encoded as UTF-8 before Base64 conversion.
Text: Hello Base64: SGVsbG8=
This interface expects text, not arbitrary binary output. A decoded image or archive may fail UTF-8 validation. Use Image to Base64 for a complete image data URL. Anyone with a Base64 string can decode it; it does not protect passwords.
Invalid characters, truncated encoding or bytes that are not valid UTF-8 can cause an error. Supply the encoded value itself, not a data URL prefix.
JWT uses a different alphabet. Use JWT Decoder to inspect a token header and payload instead of pasting the entire token here.
Files and inputs are processed locally in your browser and are not uploaded. The hosting service receives normal website and library requests. Download or copy results before leaving.