All encoding tools
Free browser-based tools for Base64 and every other common binary-to-text encoding, plus converters, image and file tools. Nothing you enter is uploaded.
Base64 tools
Base64 Encode and DecodeEncode and decode Base64 and Base64URL text or files
Base64 EncodeEncode text or files to Base64 with charset, padding and line wrap options
Base64 DecodeDecode Base64 to text or hex, with charset choice and tolerant input
Base64URLURL-safe Base64 (RFC 4648 section 5) for JWT, OAuth and URLs
Base64 ValidatorCheck Base64 and Base64URL strings for invalid characters and padding errors
Base64 to HexConvert Base64 hashes, keys and signatures to hexadecimal
Hex to Base64Convert hex hashes, keys and fingerprints to Base64
JWT DecoderDecode JWT header and claims, check expiry and verify signatures
Basic Auth GeneratorBuild or decode HTTP Basic Authorization headers
Data URI GeneratorCreate and inspect data: URIs with Base64 or percent-encoding
Base-N encodings
Binary (Base2)Text to binary and binary to text, 8 bits per byte
Octal (Base8)Text to octal byte values and back, 000 to 377
Decimal (Base10)Text to decimal byte values (ASCII codes) and back
Hex (Base16)Text to hex and hex to text, with separators and prefixes
Base32RFC 4648 Base32, Base32hex, Crockford and z-base-32
Base32hexRFC 4648 Base32 with the sortable 0-9 A-V alphabet
Crockford Base32Readable Base32 without I, L, O and U, with a forgiving decoder
z-base-32Human-oriented lowercase Base32 without padding
Base36Digits and a-z, a case-insensitive big-number encoding
Base45RFC 9285 Base45 for QR codes and COVID certificates
Base58Bitcoin, Flickr and Ripple Base58, with optional Base58Check
Base58CheckBase58 with a double SHA-256 checksum, as in Bitcoin addresses
Base62Digits and letters only, for short URLs and IDs
Base85Base85 with the RFC 1924 character set, as in Git and Python
Ascii85Adobe Ascii85 with the z shortcut and optional delimiters
Z85ZeroMQ Base85 (RFC 32), safe inside source code strings
Base91basE91 by Joachim Henke, a compact ASCII encoding
UuencodeUnix-to-Unix encoding with begin and end lines
XxencodeUuencode variant with a letters-and-digits alphabet
Converters
All EncodingsEncode text in every format at once and compare the results
Encoding DetectorIdentify an unknown encoded string and preview the decoded data
Base ConverterConvert between Base64, Base58, Base32, hex and other encodings
Base58 to HexDecode Base58 addresses, keys and hashes to hex bytes
Hex to Base58Encode hex bytes, keys and hashes as Base58
Custom AlphabetEncode and decode with any alphabet, as a big number or in bit groups
Number Base ConverterBinary, octal, decimal, hex, Base36 and Base62 for any integer
Image tools
Image to Base64Encode any image as a data URI, img tag, CSS or Markdown
Base64 to ImageDecode Base64 or data URIs to a preview and a downloadable image file
PNG to Base64Lossless PNG with transparency as data:image/png Base64
JPG to Base64JPEG photos as data:image/jpeg Base64 with quality control
WebP to Base64Compact WebP images as data:image/webp Base64
GIF to Base64Static and animated GIFs as data:image/gif Base64
SVG to Base64SVG vector graphics as data:image/svg+xml Base64
BMP to Base64BMP bitmaps as Base64, with optional PNG conversion
ICO to Base64Favicons and .ico files as Base64 data URIs
AVIF to Base64AV1-compressed AVIF images as data:image/avif Base64
TIFF to Base64TIFF scans and print images as Base64 text
Base64 to PNGSave Base64 or data:image/png strings as PNG files, transparency included
Base64 to JPGDecode Base64 to a .jpg photo, with a quality slider for conversions
Base64 to WebPDecode Base64 WebP or convert Base64 images to smaller WebP files
Base64 to GIFSave Base64 GIFs with animation intact or convert images to GIF
Base64 to SVGDecode Base64 SVG icons and graphics back to .svg files
Base64 to BMPDecode Base64 to .bmp or convert images to 32-bit bitmaps
Base64 to ICODecode Base64 icons or turn Base64 images into favicon.ico files
Base64 to AVIFDecode Base64 AVIF images, or convert to AVIF where supported
Base64 to TIFFSave Base64 scans as TIFF or convert any image to uncompressed TIFF
File tools
File to Base64Encode any file up to 100 MB as raw Base64 or a data URI
Base64 to FileDecode Base64 to a file with type detection and preview
PDF to Base64Encode PDFs as Base64 or data URIs, with a document preview
Base64 to PDFDecode Base64 to PDF, view it in the browser and download
Audio to Base64Encode MP3, WAV, OGG and other audio as Base64 or data URIs
Base64 to AudioDecode Base64 to MP3, WAV, OGG, FLAC or M4A and play it