Skip to content
ALL DEVELOPER TOOLS56
JSON FormatterTXT → JSONJSON to CSVJSON → CSVCSV to JSONCSV → JSONSQL FormatterSQL → SQLMarkdown to HTMLMD → HTMLHTML to MarkdownHTML → MDXML FormatterXML → XMLBase64 Encode/DecodeTXT → B64URL Encode/DecodeTXT → URLJWT DecoderJWT → JSONHTML Entity Encode/DecodeTXT → HTMLUUID Generator— → UUIDPassword Generator— → TXTHash GeneratorTXT → HASHLorem Ipsum Generator— → TXTQR Code GeneratorTXT → PNGColor Picker & Converter— → HEXCSS Gradient Generator— → CSSBox Shadow Generator— → CSSRegex TesterTXT → MATCHCron Expression GeneratorTXT → CRONTimestamp ConverterNUM → DATEText DiffTXT → DIFFText Case ConverterTXT → TXTWord CounterTXT → STATSSubtitle ConverterSUBS → SRT · VTT · ASSYAML to JSONYAML → JSONJSON to YAMLJSON → YAMLYAML FormatterYAML → YAMLJSON MinifyJSON → JSONSort & Dedupe LinesTXT → TXTLine Ending ConverterTXT → CRLF · LF · CRXLSX to CSVXLSX → CSVCharset ConverterTEXT → UTF-8HAR ViewerHAR → TABLE · HARJWT EncoderJSON → JWTHMAC GeneratorTXT → MACFile ChecksumFILE → VERDICTWi-Fi QR Code Generator— → QRChmod CalculatorOCTAL → RWXHTTP Status CodesCODE → MEANINGByte ConverterSIZE → UNITSTime Zone ConverterTIME → ZONESAspect Ratio CalculatorSIZE → RATIOURL ParserURL → PARTSExtract ArchiveARCHIVE → FILES · ZIPCreate ZIPFILES → ZIPUnzip FilesZIP → FILESDOCX to MarkdownDOCX → MDSVG OptimizerSVG → SVGBarcode Generator— → BARCODEQR Code ReaderIMG → TEXTVCF to CSVVCF → CSVICS to CSVICS → CSVCSV to Markdown TableCSV → MDBcrypt Generator— → HASH
ENGINE NATIVEACCEPTS TEXT FILE

Base64 Encode/Decode

NATIVETOOL 58 OF 190

Base64 Encode & Decode — Free Online Tool

Encode text or files to Base64 and decode Base64 strings — all in your browser.

ENGINENATIVE
ACCEPTSTEXT FILE
MAX SIZENONE
UPLOADNEVER
01Paste your text or Base64 string into the input area.
02Choose whether to encode or decode.
03Copy the result with one click.

About Base64 Encode/Decode

Base64 is a binary-to-text encoding scheme widely used in data URIs, email attachments (MIME), API payloads, JSON Web Tokens, and embedded resources. Whenever you need to represent binary data as plain text — for transmission through text-only protocols or embedding in source code — Base64 is the standard solution. This tool encodes plain text or a dropped file to Base64, and decodes Base64 strings back to readable text. Encoding reads a file's raw bytes, so images, PDFs, and other binary types come out as a string you can paste into a data URI or a config file, and UTF-8 text round-trips without mangling. Decoding accepts URL-safe Base64 (- and _, padding optional) as well as line-wrapped input such as PEM bodies and kubectl secret values. Use it to encode an image for a data URI, read a Base64 string returned by an API, or check what a section of a token actually contains — nothing is uploaded, so it is safe for values you would not paste into a web service.

Questions

Is my data sent to a server?

No. Encoding and decoding happen entirely in your browser using the built-in btoa/atob functions and TextEncoder/TextDecoder APIs.

Can I encode files to Base64?

Yes. Switch to File mode when encoding to upload any file and get its Base64 representation.

Does it handle Unicode text?

Yes. The tool uses TextEncoder/TextDecoder to properly handle UTF-8 characters including emoji, CJK characters, and other non-ASCII text.

Can I decode line-wrapped or URL-safe Base64?

Yes. Whitespace is stripped, - and _ are converted to + and /, and missing padding is restored before decoding — so PEM bodies, secret values wrapped at 76 columns, and JWT segments all decode without any cleanup.

Can I decode Base64 back into a file?

No — decoding always produces text. A Base64 string that encodes an image or PDF will decode to garbled characters, because the output is interpreted as UTF-8 text rather than saved back as a file.

Is my file uploaded to a server?

No. Transmute processes everything locally in your browser using JavaScript and WebAssembly. Your files never leave your device — there is no server, no upload, no cloud processing.

Related