MIME Base64 (RFC 2045)

Published

In this guide

This standards reference on Base64Encoding explains mime in plain language for developers and everyday users.

Everything important stays private: try the matching converter or tool in your browser — files and tokens are not uploaded.

Read the full English article below for code samples and edge cases, or switch language anytime from the menu. We keep expanding translations from real user feedback.

Try these private tools next

MIME (Multipurpose Internet Mail Extensions) introduced Base64 as a Content-Transfer-Encoding so that e-mail, originally limited to short lines of 7-bit ASCII, could carry images, documents and non-English text.

Rules

  • Same alphabet and padding as standard Base64.
  • Encoded lines must be no more than 76 characters, separated by CRLF (\r\n).
  • Decoders must ignore any character not in the alphabet (such as line breaks and spaces), which makes MIME decoding lenient.

Example e-mail part

Content-Type: image/png; name="dot.png"
Content-Disposition: attachment; filename="dot.png"
Content-Transfer-Encoding: base64

iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNkYPhfDwAChwGA60e6
kgAAAABJRU5ErkJggg==

Encoded words in headers

Subjects and names with non-ASCII characters use RFC 2047 “encoded words”:

Subject: =?UTF-8?B?R3LDvMOfZQ==?=

B means Base64; the value decodes to Grüße.

Produce MIME-formatted output by choosing the “MIME” standard in the text encoder or normalization tool.

常見問題

Does this page upload my data?

No. Articles are static. Linked tools run locally in your browser unless a feature explicitly needs a network relay.

Can I request a translation or a new tool?

Yes — use the private feedback form. We prioritize what users ask for across languages.

What is the fastest way to try mime?

Open the homepage Base64 converter or the related tools linked on this page and paste a sample.

相關工具與指南

留言 (0)

對「MIME Base64 (RFC 2045)」有問題、想法或發現錯誤嗎?歡迎留言、為工具評分或回覆他人。

目前還沒有留言,歡迎搶先分享您的意見!

發表留言

為此工具評分:
Esc
↑ ↓ 移動↵ 開啟Esc 關閉