Free Base64 encoder and decoder. Convert text or files to Base64 encoding and decode Base64 strings back to plain text instantly. Developer utilities built for web developers, software engineers, and programmers. TekPulse's Base64 Encode/Decode is completely free — no signup, no ads in results, and no data stored on our servers.
Base64 groups input into 3-byte (24-bit) blocks → splits each into four 6-bit values → maps each to one of 64 symbols (A–Z, a–z, 0–9, +, /)
Each 6-bit value (0–63) is looked up in the Base64 alphabet, so every 3 bytes of input become exactly 4 output characters — a 33% size increase. If the input length isn't a multiple of 3, the last block is padded with 1 or 2 '=' characters to keep the output length a multiple of 4.
Example: the text "Hi!" is the bytes 72, 105, 33 (01001000 01101001 00100001). Regrouped into 6-bit chunks: 010010 000110 100100 100001 → decimal 18, 6, 36, 33 → alphabet lookup → "SGkh". This tool uses encodeURIComponent/decodeURIComponent around atob/btoa so multi-byte UTF-8 characters (emoji, non-Latin scripts) round-trip correctly instead of corrupting.
Help others discover this free tool. Share it or embed it on your website.
Free to embed with attribution link to tekpulse.in
Was this tool helpful?