Encoding and decoding
Base64 Encode and Decode
Convert UTF-8 text safely between readable content and Base64 representations without treating encoding as encryption.
Processed locally. Your input and output are never uploaded.
Tool overview
Base64 encodes bytes; it does not protect secrets
The tool converts UTF-8 text to standard Base64 or URL-safe Base64URL and decodes valid text payloads back with fatal UTF-8 validation. It can remove output padding, repair omitted input padding, ignore pasted whitespace, and swap the output back into the input.
Inspect and create text transport encodings
- Inspect encoded text payloads
- Create Base64URL values for URLs
- Repair omitted padding before decoding
- Round-trip multilingual UTF-8 text
Encode or validate a UTF-8 round trip
- Choose Encode or Decode and the alphabet variant.
- Paste UTF-8 text or Base64.
- Set padding and whitespace behavior.
- Process, copy, download, or swap the result.
Alphabet, padding, whitespace, and repair
- Standard Base64 uses + and /; Base64URL uses - and _.
- Padding repair handles valid two- or three-character final groups.
- Decoded binary that is not valid UTF-8 is rejected.
- This tool intentionally does not convert arbitrary binary files.
Encode readable text as standard Base64
Before
Hello, world!
After
SGVsbG8sIHdvcmxkIQ==
Encoding is not encryption or arbitrary binary support
- A remainder of one Base64 character is always invalid.
- Whitespace is rejected when Ignore whitespace is disabled.
- Binary payloads that are not UTF-8 text are unsupported.
Browse all encoding and decoding tools →
Questions
Base64 Encode and Decode FAQ
Is Base64 encryption?
No. Base64 is an encoding format, not encryption.
Can this decode Base64URL without padding?
Yes. Choose Base64URL and keep padding repair enabled.