Back to Text Tools
String to Base64 Converter
Encode any text string to Base64 instantly with our free Base64 Encode/Decode tool. Supports UTF-8, URL-safe mode, and file encoding.
How to Encode a String to Base64
1
Type or paste your text string into the input area. Plain text, JSON, URLs, and code all work.
2
Select Encode mode and choose standard Base64 or URL-safe Base64Url format.
3
Click Encode and copy the Base64 output. Use it in data URIs, API calls, or wherever you need encoded text.