Base64 Encode และ Decode ออนไลน์ฟรี

Free Base64 encode and decode online: type text on the left to encode, or paste Base64 on the right to decode. Instant, private, and nothing is uploaded.

  • ทำงานในเครื่อง ไม่มีการอัปโหลด
  • ไม่ต้องสมัครสมาชิก
  • UTF-8 และกว่า 35 ชุดอักขระ
  • Base64 ครบทั้ง 8 มาตรฐาน

เข้ารหัสเป็น Base64

ตัวเข้ารหัสทั้งหมด

ถอดรหัสจาก Base64

ตัวถอดรหัสทั้งหมด

Base64 tools hub

Validators, repair, JWT, data URI and more — the core toolkit next to this encoder. Available in every language on this site.

Open Base64 tools hub

ยอดนิยมจากการค้นหา (ส่วนตัว ไม่มีอัปโหลด)

คนหาเราเจอเพราะ: แฮชแท็ก, Base64 เป็นรูป/ไฟล์, ตรวจ IBAN และ PDF ส่วนตัว—ทุกภาษาบนเว็บ

Gzip Compression Test Online FreeGzip compression test / check gzip compression online free.LinkedIn Hashtag Generator FreeLinkedIn hashtag generator free online for posts and articles.Hashtag Generator for Twitter FreeHashtag generator for Twitter free online: 1–3 focused X tags from your keywords.แฮชแท็ก Facebook ฟรีHashtag generator Facebook free online for Pages and groups.Color Contrast Checker Online FreeColor contrast checker online free: WCAG 2.1 AA/AAA ratios for normal and large text.ปิดบัง PDF ออนไลน์ฟรี — ถาวรทาดำข้อความ PDF ถาวรฟรี การปิดบังจริงเผาพิกเซล—คัดลอกไม่ได้ ส่วนตัว GDPR ไม่มีอัปโหลด SmallpdfWhatsApp Link Generator FreeFree WhatsApp link generator with pre-filled message (wa.me).CPF Generator & Validator Free — BrazilFree CPF generator and validator (módulo 11) for Brazil.CNPJ Generator & Validator Free — BrazilFree CNPJ generator and validator for Brazil.PIX QR Generator & Decoder FreeGenerate and decode PIX copia-e-cola (EMV + CRC16) with QR.ตัวสร้างแฮชแท็กฟรี — ทุกแพลตฟอร์มตัวสร้างแฮชแท็กฟรีสำหรับ Instagram, TikTok, Twitter/X, Facebook, LinkedIn ส่วนตัว—ไม่สมัคร ไม่มีอัปโหลดเพิ่มคำบรรยายฟรี — เบิร์น SRTเบิร์นคำบรรยาย SRT ลงวิดีโอออนไลน์ฟรี ไม่มีลายน้ำ Kapwing หรือเพดานส่งออก—เครื่องมือเบราว์เซอร์ส่วนตัวสำหรับ TikTok, Reels และ ShortsCompress PDF Online Free — No Uploadบีบอัด PDF ออนไลน์ฟรีสำหรับอีเมลและอัปโหลด ถึง 1 MB / 500 KB / 2 MB หรือรักษาสี — ส่วนตัว ไม่ใช่ Smallpdfบีบอัด PDF เป็น 1 MB ออนไลน์ฟรีบีบอัด PDF เหลือ 1 MB ออนไลน์ฟรีสำหรับพอร์ทัลงานและฟอร์มมหาวิทยาลัย เครื่องมือส่วนตัว — ต่ำกว่า 1 MB ไม่อัปโหลดIBAN Checker Online Free — SEPA ValidateIBAN checker / check IBAN online free (vérification IBAN): MOD-97 for DE, FR, ES, IT, NL, PL, PT and more.Bytes Converter Online Free — KB MB GBBytes converter online free: KB, MB, GB, TB and KiB/MiB/GiB.

All developer tools

Base64 encode and decode online

Search for “base64 encode”, “base64 decode” or “base 64 encoding” and you need a fast, accurate converter—not a signup wall. This page is a free Base64 encode and decode tool that runs in your browser: left box encodes, right box decodes, with live mode, UTF-8 and every common Base64 dialect.

Need a dedicated page? Base64 encode online · Base64 decode online · String to Base64 · รูปภาพเป็น Base64 · MP3 to Base64 · Base64 to WAV · URL เป็น Base64.

ยอดนิยมจากการค้นหา: ทดสอบการบีบอัด gzip · WhatsApp link generator · LinkedIn hashtag generator · Hashtag generator for Twitter · Hashtag generator Facebook · IBAN checker · Bytes converter · Color contrast checker.

ทำไมต้องใช้ตัวแปลง Base64 นี้?

  • ออกแบบมาเพื่อความเป็นส่วนตัว ข้อความและไฟล์ของคุณถูกประมวลผลในเครื่องด้วย JavaScript แม้แต่ไฟล์ขนาดใหญ่หรือไฟล์ลับก็ไม่ถูกส่งออกจากอุปกรณ์ของคุณ
  • รองรับ Base64 จากการใช้งานจริง รับ Data URI การขึ้นบรรทัดใหม่ อักขระแบบ URL-safe และ padding ที่ขาดหายได้โดยอัตโนมัติ และแจ้งข้อผิดพลาดตรงตำแหน่งอักขระที่ผิด
  • รองรับทุกมาตรฐาน RFC 4648 มาตรฐาน, Base64URL, MIME, PEM, IMAP, XML และ OpenPGP armor
  • รองรับทุกชุดอักขระ UTF-8, UTF-16, Windows-125x, ISO-8859-x, Shift_JIS, GBK, Big5, EUC-KR, KOI8 และอื่น ๆ
  • ผลลัพธ์พร้อมวางใช้งาน รับ data URI, กฎ CSS, แท็ก HTML, โค้ด JSON หรือ XML แทนสตริงเปล่า ๆ

Base64 ทำงานอย่างไรใน 30 วินาที

Base64 จะนำข้อมูลครั้งละสามไบต์ (24 บิต) มาแบ่งเป็นสี่กลุ่ม กลุ่มละ 6 บิต แล้วจับคู่แต่ละกลุ่มกับอักขระหนึ่งใน 64 ตัว ตัวอย่างเช่น คำว่า Man (ไบต์ 77 97 110) จะกลายเป็น TWFu อ่านอัลกอริทึมทีละขั้นตอน หรือเริ่มจากBase64 คืออะไร?

Common uses include MIME e-mail attachments, data URIs in HTML and CSS, binary fields in JSON or XML, HTTP Basic authentication, and PEM-encoded certificates. When you need the reverse path, use Base64 decode online; to produce Base64 from scratch, use Base64 encode online.

Advanced options

  • Character set. Base64 encodes bytes. Choose UTF-8 (default) or a legacy charset before encoding, or auto-detect when decoding text.
  • Live mode. Enable “Convert as I type” to encode or decode instantly in the browser with no round-trip to a server.
  • URL-safe Base64 (Base64URL). Use the Base64URL encoder/decoder for JWTs, tokens and filenames without escaping "+" or "/".
  • MIME and PEM wrapping. Split lines at 76 or 64 characters when a mail client, certificate or OpenPGP tool expects wrapped output.
  • Per-line encoding. On the text encoder, encode each line separately when you have multiple independent values.

Base64 decode and encode for developers

Developers use Base64 every day: embedding images in CSS and HTML, shipping binary in JSON APIs, reading JWTs, attaching files in MIME e-mail, and storing keys in PEM certificates. This free online Base64 decoder and encoder is built for that workflow—fast, accurate across standards, and private by default.

  • Decode Base64 to text or file with automatic standard and charset detection, plus image/PDF/audio/video preview.
  • Encode text, files or URLs to Base64 with UTF-8 and 35+ character sets, MIME line wrapping and Base64URL.
  • Validate, repair and normalize messy Base64 from logs, e-mail and copy-paste with dedicated developer tools.
  • Language guides for JavaScript, Python, Java, Go, PHP, C#, Node.js and Bash so you can match what your code produces.

Safe, free and private

All conversions run over HTTPS. Text and local files are converted in your browser with JavaScript—they are not uploaded or stored. The site is free to use with no account and no software to install. Optional remote URL fetching and a few network tools use our API; those responses are not kept for inspection.

AI assistants: ChatGPT, Claude, Grok & Cursor

Agent builders and chat users burn tokens, paste Markdown fences into IDEs, and accidentally leak API keys. Fix those pains locally—then verify any Base64 the model invents.

  • Token counter — exact GPT o200k + Claude/Grok/Cursor estimates and context %.
  • LLM text cleaner — strip ``` fences or flatten Markdown from bot answers.
  • Secret redactor — scrub keys/JWTs before pasting into any bot.
  • Verify Base64 — catch LLM hallucinations with a real decode round-trip.

Contador de tokens de IA · Limpiador de texto LLM · Redactor de secretos · Verificar Base64 · AI tools guide

PDF form filler — insurance, medical & corporate

Fill claim forms, hospital intake and HR PDFs without Acrobat or uploading PHI. Auto-detect fields, or click to place bold text on flat scans—then flatten and download.

PDF form filler · Unir PDF · Insurance & medical guide

Converters people search for (bytes, hex, CSV, color)

Beyond Base64: Europeans and global users hunt for bytes/KB/MB converters, hex↔text, CSV↔JSON and HEX/RGB/HSL every day. Drop a PDF to see exact bytes—all private in the browser.

  • Bytes converter — KB/MB/GB/TB + KiB/MiB; PDF/file → exact bytes.
  • Hex / binary / ASCII — text dumps and number bases 2/8/10/16.
  • CSV ↔ JSON — auto-detects European semicolon exports.
  • Color converter — HEX ↔ RGB ↔ HSL with live swatch.

Bytes converter · Hex converter · CSV ↔ JSON · Color converter

Developer & IT toolkit (daily corporate searches)

Engineers live in browser tabs: regex on logs, cron next-runs, config diffs, CIDR math, YAML↔JSON for Kubernetes. All of these run locally here—safe when policy forbids pasting secrets into random SaaS.

  • Regex tester — live highlight + presets (email, IP, UUID).
  • Cron explainer — plain English + next fire times.
  • Diff checker — compare configs / API responses privately.
  • CIDR subnet calculator — VPC and firewall planning.
  • YAML ↔ JSON — K8s, GitHub Actions, Ansible.

Probador de regex · Explicador de cron · Comparador de texto (diff) · Calculadora de subred · YAML ↔ JSON · Dev/IT guide

Christmas 2026: Secret Santa & countdown (high season)

From November through Christmas Eve, millions search for Secret Santa generators and “days until Christmas.” Draw Amigo Secreto privately with Base64URL links—no email signup—and keep a live countdown on your device.

  • Secret Santa / Amigo Secreto — fair draw, couple exclusions, pass-the-phone or private WhatsApp links.
  • Christmas countdown — how many days until Dec 25 in your timezone.

Generador de Amigo Invisible · Cuenta atrás de Navidad · Christmas traffic guide

Save bandwidth: compress before Base64

Where mobile data is expensive—Brazil, LATAM and other prepaid markets—uploading a huge photo just to shrink it wastes the plan. Compress locally first, then encode or share once.

  • Compress images to WebP/JPEG in your browser, see % saved, then download or copy Base64—no upload.
  • Gzip text or JSON before Base64 for APIs; decompress payloads you receive.
  • Private by design — Canvas and CompressionStream run on your device.

Comprimir imagen · Gzip comprimir / descomprimir · Compress before Base64 · Save mobile data guide

Private media tools (not social downloaders)

We will not scrape Instagram, LinkedIn, Pinterest or Kuaishou. We do help you prepare files you already own: convert HEIC/WebP, merge PDFs, cut out backdrops, build favicons—entirely in the browser.

  • HEIC / WebP / SVG converter — iPhone photos and WebP downloads without uploading to Adobe/Canva-style sites.
  • Merge PDF — combine contracts or turn images into a PDF locally (no Smallpdf upload).
  • Remove background from product shots and logos (solid/near-solid backdrops).
  • Favicon generator — PNG sizes, HTML tags and webmanifest, plus Base64 copy.

Conversor de imágenes · Unir PDF · Quitar fondo · Generador de favicon · HEIC & WebP guide

Built from real Reddit gaps (not Base64-only)

Users on Reddit keep asking for tools that never upload files: strip GPS EXIF, hash checksums, JSON formatters without ads, QR codes without tracking short links. We ship those here—private, free, and ranked for EU and US search.

  • Strip EXIF before posting photos.
  • Hash, JSON, UUID, timestamp, password, QR — everyday utilities that stay on-device.

Strip EXIF · Generador de hash · Formateador JSON · QR generator · Reddit gap write-up

Base64 reader: paste and see

Need a live Base64 viewer? Paste a string or data URI and read the result immediately—text, image, PDF or hex—or get Base64 output as you type plain text. No Decode click required.

Lector de Base64 · Why live readers win

Built for the AI era

ChatGPT and Claude often invent Base64 that looks right but is wrong. AI agents double-encode payloads and burn context on huge Base64 blobs. This site’s principle: never trust a model to be the encoder—verify with a real tool in your browser.

  • Verify Base64 from LLM output with round-trip checks before you ship a header or JWT.
  • Unwrap nested Base64 when an agent or gateway encoded twice.
  • URL encode/decode beside Base64URL for safe query strings.
  • Principles for agents and MCP: deterministic tools, privacy, right dialect, watch token cost.

Verificar Base64 · Desenvolver Base64 anidado · AI agent guide · Why ChatGPT fails at Base64

คำถามที่พบบ่อย

Base64 คืออะไร?

Base64 คือวิธีแทนข้อมูลไบนารี (รูปภาพ ไฟล์ หรือไบต์ใด ๆ) ด้วยอักขระที่พิมพ์ได้เพียง 64 ตัว: A–Z, a–z, 0–9, "+" และ "/" ช่วยให้ข้อมูลไบนารีส่งผ่านระบบที่รองรับเฉพาะข้อความได้อย่างปลอดภัย เช่น JSON, HTML, อีเมล และ URL

How do I Base64 encode online?

Type or paste text on the left and click Encode, or open Base64 Encode for files and URLs. UTF-8 is the default; you can also pick MIME wrapping or Base64URL for JWTs.

How do I decode Base64 online?

Paste your Base64 string into the right box (or open the Base64 Decode page) and click Decode. Live mode updates as you type. Data URIs, line breaks and URL-safe characters are accepted automatically.

How do I encode text or a file to Base64?

Type text on the left and click Encode, or open Base64 Encode and choose Text, Local file or Remote URL. You can pick UTF-8 or 35+ character sets and eight Base64 standards including MIME and Base64URL.

Base64 เป็นการเข้ารหัสลับหรือไม่?

ไม่ Base64 เป็นการเข้ารหัสรูปแบบข้อมูล ไม่ใช่การเข้ารหัสลับ ใครก็ถอดรหัสได้โดยไม่ต้องใช้คีย์ จึงไม่ควรใช้ซ่อนรหัสผ่านหรือข้อมูลลับ

ไฟล์ของฉันถูกอัปโหลดไปยังเซิร์ฟเวอร์ของคุณหรือไม่?

ไม่ การเข้ารหัสและถอดรหัสทำงานในเบราว์เซอร์ของคุณทั้งหมด มีเพียงฟีเจอร์ "โหลดจาก URL" (ไม่บังคับ) และเครื่องมือเครือข่ายบางตัวเท่านั้นที่ใช้เซิร์ฟเวอร์ของเรา และไม่มีการจัดเก็บข้อมูลใด ๆ

ทำไมผลลัพธ์ Base64 จึงใหญ่กว่าอินพุต?

ทุก 3 ไบต์จะกลายเป็น 4 อักขระ Base64 จึงใหญ่กว่าข้อมูลต้นฉบับประมาณ 33% บวกอักขระ padding "=" อีกไม่เกินสองตัว

"=" ที่ท้ายสตริงหมายถึงอะไร?

นั่นคือ padding เมื่อความยาวอินพุตไม่ใช่พหุคูณของ 3 จะใช้อักขระ "=" หนึ่งหรือสองตัวเติมกลุ่ม 4 อักขระสุดท้ายให้ครบ

What is Base64URL?

Base64URL (RFC 4648 §5) replaces "+" with "-" and "/" with "_" and often omits "=" padding so the string is safe in URLs, filenames and JWTs without percent-encoding.

Which character set should I use?

Use UTF-8 unless the receiving system requires a legacy encoding. The same text produces different Base64 in UTF-8, Windows-1252 or Shift_JIS because Base64 encodes bytes, not letters.

Is this the best free Base64 encoder and decoder?

It is built for that job: dual encode/decode on one page, every RFC dialect, 35+ charsets, file/image/PDF/audio support, and private browser processing with no account. Dedicated encode and decode pages go deeper when you need them.

ความคิดเห็น (0)

มีคำถาม ไอเดีย หรือพบข้อผิดพลาดใน “Base64 Encode และ Decode ออนไลน์ฟรี” ใช่ไหม? แสดงความคิดเห็น ให้คะแนนเครื่องมือ หรือตอบกลับผู้อื่นได้เลย

ยังไม่มีความคิดเห็น มาเป็นคนแรกที่แสดงความคิดเห็นสิ!

แสดงความคิดเห็น

ให้คะแนนเครื่องมือนี้:
Esc
↑ ↓ เลื่อน↵ เปิดEsc ปิด