انکد و دیکد Base64 آنلاین

متن را در سمت راست تایپ یا جای‌گذاری کنید تا رمزگذاری شود، یا Base64 را در سمت چپ جای‌گذاری کنید تا رمزگشایی شود. تبدیل فوراً در مرورگر شما انجام می‌شود و چیزی آپلود نمی‌شود.

  • اجرای محلی، بدون آپلود
  • بدون ثبت‌نام
  • UTF-8 و بیش از 35 مجموعه‌نویسه
  • هر 8 استاندارد Base64

رمزگذاری به Base64

همه رمزگذارها

رمزگشایی از Base64

همه رمزگشاها

ابزارهای توسعه‌دهندگان

اعتبارسنج Base64به‌صورت آنلاین بررسی کنید که آیا یک رشته Base64 معتبر است.تعمیر Base64تعمیر آنلاین Base64 خراب: حذف پیشوند data URI، فاصله‌ها، نقل‌قول‌ها و escapeها و اصلاح نویسه‌های URL-safe، percent-encoding و padding.نرمال‌سازی Base64Base64 را به قالب استاندارد آن نرمال کنید و بین استانداردها تبدیل کنید: standard، MIME، PEM، Base64URL، IMAP، XML token/identifier و OpenPGP armor.تشخیص استاندارد Base64تشخیص دهید کدام استاندارد Base64 برای رمزگذاری یک مقدار استفاده شده است: standard، MIME، PEM، Base64URL، IMAP، XML token/identifier یا OpenPGP ASCII armor.تشخیص Character EncodingDetect the character encoding of Base64 text: UTF-8, Windows-1252, ISO-8859-1/2/15, Cyrillic, Shift_JIS, GBK and more.مبدل CSS Data URIهمه تصاویر و فونت‌های url(...) در یک استایل‌شیت را به data URI از نوع Base64 تبدیل کنید.Data URL به تصویرتبدیل آنلاین data URL (data:image/png;base64,...) به تصویر.تست فشرده‌سازی Gzipبه‌صورت آنلاین بررسی کنید که آیا یک URL با فشرده‌سازی gzip، deflate، Brotli یا Zstandard ارائه می‌شود و حجم فشرده، حجم اصلی و میزان صرفه‌جویی را ببینید.درخواست HTTP آنلاینارسال آنلاین درخواست HTTP با هر متد، هدرها و body سفارشی.رمزگشای فایل Uuencodeرمزگشایی آنلاین فایل‌های uuencode.رمزگشای JWTرمزگشایی آنلاین توکن‌های JWT: header، payload و signature، با نمایش زمان انقضا و زمان صدور به‌صورت تاریخ خوانا.Base64 Size CalculatorCalculate Base64 size online: convert bytes to Base64 characters (and back), including MIME/PEM wrapping overhead.

All developer tools

چرا از این مبدل 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 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.

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.

Regex tester · Cron explainer · Diff checker · Subnet calculator · 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.

Secret Santa generator · Christmas countdown · 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.

Compress image · Gzip compress · 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.

Image converter · Merge PDF · Remove background · Favicon generator · 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 · Hash generator · JSON formatter · 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.

Base64 reader · 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.

Verify Base64 · Unwrap nested Base64 · AI agent guide · Why ChatGPT fails at Base64

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.

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.

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.

سؤالات متداول

Base64 چیست؟

Base64 روشی برای نمایش داده‌های باینری (تصاویر، فایل‌ها، هر بایتی) فقط با 64 نویسه قابل‌چاپ است: A–Z، a–z، 0–9، "+" و "/". با آن داده‌های باینری می‌توانند با خیال راحت از سیستم‌هایی که فقط متن را پشتیبانی می‌کنند، مانند JSON، HTML، ایمیل و URL، عبور کنند.

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 یک encoding است، نه رمزنگاری. هر کسی بدون کلید می‌تواند آن را رمزگشایی کند، پس هرگز از آن برای پنهان کردن رمز عبور یا اطلاعات محرمانه استفاده نکنید.

آیا فایل‌های من روی سرور شما آپلود می‌شوند؟

خیر. رمزگذاری و رمزگشایی کاملاً در مرورگر شما انجام می‌شود. فقط قابلیت اختیاری «بارگذاری از 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.

دیدگاه‌ها (0)

سؤال، ایده یا باگی در «انکد و دیکد Base64 آنلاین» دارید؟ دیدگاه بگذارید، به ابزار امتیاز دهید یا به دیگران پاسخ دهید.

هنوز دیدگاهی ثبت نشده است. اولین نفری باشید که نظر خود را به اشتراک می‌گذارد!

دیدگاه بگذارید

به این ابزار امتیاز دهید:
Esc
↑ ↓ جابه‌جایی↵ باز کردنEsc بستن