Base64 标准

发布于

本指南内容

This standards reference on Base64Encoding explains standards 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.

接着试用这些私密工具

“Base64” is a family of encodings. They all share the same 3-bytes-to-4-characters algorithm but differ in the last two alphabet characters, padding, line wrapping and extra framing.

Standard Chars 62/63 Padding Line length Used in
Standard (RFC 4648 §4) + / required none APIs, JSON, data URIs
MIME (RFC 2045) + / required max. 76 E-mail attachments
PEM (RFC 7468) + / required exactly 64 Certificates, keys
Base64URL (RFC 4648 §5) - _ optional none URLs, JWT, file names
IMAP (RFC 3501) + , none none Mailbox names in modified UTF-7
XML name token / identifier . - / _ : none none XML NMTOKEN and Name values
OpenPGP armor (RFC 4880) + / required max. 76 PGP messages, with CRC-24 checksum

Not sure which one you have? Use the standard detector, then convert between them with normalization.

常见问题

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 standards?

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

相关工具和指南

评论 (0)

对“Base64 标准”有疑问、想法或发现了 bug?欢迎留言评论、为工具评分或回复他人。

暂无评论,快来分享您的反馈吧!

发表评论

为此工具评分:
Esc
↑ ↓ 移动↵ 打开Esc 关闭