Live Conversion: The output updates on every keystroke. You can also click "Convert to Base64" after uploading a file or using "Load an example".
Correct UTF-8 Handling: Accented letters, emoji, Bangla, Japanese and every other script are converted to their proper UTF-8 bytes before encoding, exactly as the standard requires. Naive converters break here; this tool does not.
Example: Café encodes as Q2Fmw6k= — the é becomes the two UTF-8 bytes C3 A9.
Line Wrapping: The result is folded into lines of a fixed width straight away — 70 characters by default. Change the width to anything you need, or untick "Wrap output into lines" for one continuous piece. The traditional MIME value used in email is 76.
Example: Wrapped at 76 characters, the paragraph in Example 5 below folds into five neat lines; untick the option and the very same input comes out as a single continuous string.
URL-Safe Alphabet (Optional): Standard Base64 can contain + and /, which have special meanings in URLs. Ticking "URL-safe alphabet" swaps them for - and _ (RFC 4648 §5), the variant used by JWTs.
Example: Standard PDw/ becomes URL-safe PDw_.
Padding Removal (Optional): Tick "Remove trailing = padding" to strip the closing = characters for compact tokens. Many modern systems accept unpadded Base64; some older ones require the padding.
File Upload, Copy & Download: Load a .txt file instead of typing, copy the result to your clipboard with one click, or download it as a file.
Live Statistics: Character counts and UTF-8 byte sizes update as you type, including how much larger the output is than the input — Base64 always adds roughly a third (four output characters per three input bytes).