Base64編解碼器
開發者工具編碼與解碼Base64文字
答案速覽
Base64 Encoder / Decoder: Encode and decode Base64 text. Base64 Encoder / Decoder uses standard developer formulas to compute accurate results instantly.
輸入
輸出
輸入位元組20
輸出字元28
體積膨脹+40%
變體Standard
編碼原理(以輸入前 3 位元組為例)
- 1First 3 byte(s) → binary: 11100100 10111000 10000000
- 2Split into 6-bit groups: 111001 | 001011 | 100010 | 000000
- 3Indices 57, 11, 34, 0 → chars "5LiA"
- 43 bytes → 4 chars, no padding needed
Base64 字元索引表
| 索引 | 0-25 | 26-51 | 52-61 | 62 | 63 | 補位 |
|---|---|---|---|---|---|---|
| 字元 | A-Z | a-z | 0-9 | + | / | = |
💡 Base64 是編碼而非加密,任何人都能還原,切勿用於隱藏敏感資訊。每 3 位元組編碼為 4 字元(體積約 +33%);在 URL 或檔名中使用時請選擇 URL Safe 變體。
這個工具對你有幫助嗎?
怎麼用
- Paste or type content: drop code/text into the Base64 Encoder / Decoder or fill the parameters.
- Choose mode/options: switch format, rules or processing as needed.
- Live output: results appear instantly — nothing is submitted, data stays in your browser.
- One-click copy: copy the output straight into your development environment.
核心要點
- Base64 Encoder / Decoder is a free online developer tool — open and use, no sign-up.
- All calculations run locally in your browser; your data never leaves the device.
- Key capability: Encode and decode Base64 text.
- Results come with formulas and reference tables so you can verify every number.
原理與公式
Base64 Encoder / Decoder formula
Base64 Encoder / Decoder uses standard developer formulas to compute accurate results instantly.
常見問題
How do I use the Base64 Encoder / Decoder?
Open the page and fill in the input fields — results update automatically. Encode and decode Base64 text.
Are the results accurate?
Yes. Standard formulas and conversion factors are used and verified.
Is it free? Do I need to sign up?
Completely free. No registration, login or download required.
Does it work on mobile?
Yes. The responsive design works on phones, tablets and desktops.
Is my data saved?
No. Everything runs locally in your browser.
相關工具
相關指南
來源與更新
Based on RFC 4648, ECMA-262 and related specifications. Last updated: 2025-07
最近更新:
本頁公式與內容經YiJianSuan團隊覆核,僅供學習參考,實際業務請以官方口徑為準。
內容由YiJianSuan編輯團隊維護並定期覆核,更新與審核流程詳見編輯規範.
引用本頁: YiJianSuan. Base64編解碼器[EB/OL]. https://www.yijiansuan.com/zh-TW/c/dev/base64
本工具提供的結果僅供參考,不構成任何專業建議,請以官方核算為準。