Basic Usage
This guide covers the fundamental operations of the Base64 Converter tool.
Mode Selection
Encode Mode
Converts plain text or binary data to Base64 format.
- Select "Encode (Text → Base64)" mode
- Enter your text in the input field
- Choose your preferred output format
- Click "Convert" to get the Base64 result
Decode Mode
Converts Base64 encoded data back to original format.
- Select "Decode (Base64 → Text)" mode
- Paste your Base64 string in the input field
- Click "Convert" to decode the data
Output Formats
Standard Format
- Uses traditional Base64 encoding
- Includes padding characters (=)
- Most compatible with standard Base64 implementations
Example:
Input: "Hello World"
Output: "SGVsbG8gV29ybGQ="
URL Safe Format
- Replaces
+
with-
and/
with_
- Removes padding characters
- Safe for use in URLs and filenames
Example:
Input: "Hello World"
Output: "SGVsbG8gV29ybGQ"
No Padding Format
- Standard Base64 without padding characters
- Useful for certain applications that don't expect padding
Text Input
Manual Entry
- Click in the text input area
- Type or paste your content
- The conversion happens automatically as you type
File Upload
- Click "Choose File" button
- Select your file from the file picker
- The file content will be automatically encoded/decoded
Copying Results
- Click the Copy button next to the output
- The result is copied to your clipboard
- Paste it wherever you need it
Clearing Data
- Clear All: Removes all input and output data
- Clear File: Removes only the uploaded file
- Swap Input: Swaps input and output content (useful for quick testing)
Quick Examples
Encoding Text
Input: "Hello, World!"
Output: "SGVsbG8sIFdvcmxkIQ=="
Decoding Base64
Input: "SGVsbG8sIFdvcmxkIQ=="
Output: "Hello, World!"
URL Safe Encoding
Input: "Hello, World!"
Output: "SGVsbG8sIFdvcmxkIQ"
These basic operations form the foundation of using the Base64 Converter effectively for your encoding and decoding needs.