Text & Code
Base64 Text Encoder / Decoder
Encode text to Base64 and decode Base64 back to text. URL-safe mode available.
Your files stay on your device - processed locally via WebAssembly, never uploaded
🔒 All encoding and decoding happens in your browser. Nothing is sent anywhere.
Embed this tool on your website
Copy this code to add the Base64 Text Encoder / Decoder to your site for free. It runs entirely in your visitors' browsers - no API key, no usage limits.
<iframe src="https://optipix.art/embed/base64-text" width="100%" height="600" style="border:1px solid #e4e4e7;border-radius:8px;" title="Base64 Text Encoder / Decoder by OptiPix" loading="lazy"></iframe> <p style="font-size:12px">Free tool by <a href="https://optipix.art/base64-text">OptiPix Base64 Text Encoder / Decoder</a></p>
❤️ Love this tool? Support our team.
No ads, no tracking, no limits. Tips keep 104 tools free for everyone.
Secure payment via Stripe · No account needed
About Base64 Text Encoder / Decoder
Last updated: May 2026
OptiPix Base64 Text Encoder/Decoder převádí mezi prostým textem a kódováním Base64 přímo ve vašem prohlížeči. Zakódujte jakýkoli UTF-8 text do Base64 nebo dekódujte Base64 řetězce zpět do čitelného textu. Přepněte režim URL-safe Base64 pro použití - a _ místo + a / pro kompatibilitu s URL a názvy souborů. Povolte živý režim pro převod v reálném čase, jak píšete. Zobrazte statistiky velikosti vstupu/výstupu ukazující režii kódování. Přetáhněte jakýkoli soubor pro zakódování jeho bajtů do Base64 řetězce nebo vložte Base64 řetězec pro dekódování a stažení jako soubor. Tento nástroj zpracovává text a libovolné soubory - pro Base64 specifické pro obrázky s náhledem a CSS výstupem si prohlédněte nástroj Image to Base64. Veškeré zpracování probíhá lokálně ve vašem prohlížeči.
How It Works
Nástroj používá funkce JavaScriptu btoa() a atob() pro text v rozsahu ASCII. Pro plnou podporu UTF-8 nejprve zakóduje text pomocí TextEncoder a poté převede pole bajtů na Base64 řetězec. Režim URL-safe nahrazuje + za - a / za _ ve výstupu.
Use Cases
- •Zakódování API klíčů a tokenů pro konfigurační soubory
- •Dekódování Base64-enkódovaných dat z API a JWT
- •Převod souborů do Base64 pro vložení do JSON payloadů
- •Příprava dat pro kódování MIME v e-mailech
- •Ladění Base64-enkódovaných řetězců ve webových aplikacích
You Might Also Like
If you find Base64 Text Encoder / Decoder useful, check out these related tools: URL Encoder / Decoder, Text to Binary / Hex / Octal, and Hash Generator. All tools run entirely in your browser with no uploads or signups required.
Explore more: Browse all tools · Step-by-step guides · Tips & tutorials · Compare tools
Frequently Asked Questions
Co je Base64 kódování?
Co je URL-safe Base64?
Mohu kódovat soubory, nejen text?
Jak se to liší od nástroje Image to Base64?
Jsou moje data odesílána na nějaký server?
Related Tools
URL Encoder / Decoder
Encode and decode URLs with percent-encoding. Parse URLs into components.
Text to Binary / Hex / Octal
Convert text to binary, hexadecimal, octal, and decimal - and back.
Hash Generator
Generate MD5, SHA-1, SHA-256, SHA-384, and SHA-512 hashes from text or files.
Case Converter
Convert text between UPPERCASE, lowercase, Title Case, camelCase, snake_case, and 10+ more formats.