Example
Input:
https://www.starrytool.com
Click the encode button to output:
aHR0cHM6Ly93d3cuc3RhcnJ5dG9vbC5jb20=
About This Base64 Encoder and Decoder
Use this online Base64 tool to encode plain text into Base64 or decode a Base64 string back into readable text when possible. It is useful for working with API values, JSON data, configuration text, data URLs, and other text-based content that needs a Base64 representation.
• Features
Encode and Decode: Convert text to Base64, or decode Base64 content back to text.
Line-by-Line Processing: Use separate line processing when you need to encode or decode multiple values independently.
Text-Friendly Output: Base64 represents data using text characters, which makes it easier to include in text-based formats such as JSON, XML, HTML, CSS, and URLs.
Size Increase: Base64 output is usually larger than the original data because it represents every three bytes as four Base64 characters.
Not Encryption: Base64 is an encoding format, not a security method. Anyone can decode it, so do not use Base64 alone to protect passwords, private keys, tokens, or other sensitive information.
• Common Uses
Developer Tools: Encode or decode strings used in APIs, configuration files, test data, logs, and request payloads.
Data URLs: Convert small text or data values for use in HTML, CSS, or other text-based formats.
Email and Web Standards: Base64 is commonly used by many protocols and formats to represent data as text.
Quick Debugging: Decode Base64 strings to inspect their contents, or encode sample text for testing and troubleshooting.