The encoder reads the text you paste, encodes it as UTF-8 bytes, and returns the Base64 representation. It is useful when a config field, API sample, or test fixture expects a Base64 string instead of plain text.
When URL-safe mode is enabled, padding is removed and the plus and slash characters are replaced with hyphen and underscore. The page still works on pasted text only, so it does not read files or create a complete data URL prefix for you.
Common questions and answers about this topic.
Base64 encoding represents byte data using 64 ASCII characters. This page applies that encoding to pasted UTF-8 text and returns the resulting Base64 string.
Use this tool when you need to place a text value in a Base64 field, compare expected encoded output, or prepare a small payload snippet for documentation or tests.
No, Base64 encoding happens entirely in your browser. Your data is encoded locally with JavaScript and never leaves your device.