Workspace DevDesk / Base64 Converter
Encoding & decoding

Base64 Converter

Encode and decode text, files, and URL-safe Base64.

Text or file input

0 B

Base64 output

0 B

Enter text or choose a file.

Your data never leaves your browser. Ctrl / ⌘ + K to switch tools

Convert text and binary data

Choose Encode to turn UTF-8 text or a local file into Base64. Choose Decode to recover text or download the original bytes. Swap reverses the conversion direction.

Practical example

Encode Hello to get SGVsbG8=. Enable Base64URL for URL-friendly output that uses hyphen and underscore and omits padding.

Frequently asked questions

Is Base64 encryption?

Base64 represents binary data using text characters. Anyone with the encoded string can recover the bytes.

Which files can I preview?

Recognized PNG, JPEG, GIF, and WebP signatures enable local image previews. Other file types are available as downloads. Decoded source text is displayed as text.

Related tools

Search developer tools

All tools

JSON Formatter Formatters
JWT Decoder Encoding & decoding
Regex Tester Testing
Base64 Converter Encoding & decoding
UUID Generator Generators
Timestamp Converter Converters
JSON to CSV Formatters
↑ ↓ Navigate ↵ Open tool