iToolsPro

Encode / Decode

Encode / decode, hash and generate — runs fully in your browser

preview
Encode · Hash · Generate

One-stop developer toolbox — local · fast · safe

A one-stop developer toolbox for encode / decode, hash (MD5 / SHA / HMAC) and generate (password / UUID / random string).

100% local · Your data never leaves the browser

Key features

Multi-algorithm
Base64 / URL / Hex / HTML / Unicode / Radix / MD5 / SHA / HMAC — all in one place.
Base64 · URL · Hex · HTML · Unicode · MD5 · SHA · HMAC
Live two-way
Switch encode / decode in one click; live conversion and per-line batch hashing.
Live two-way conversion.
Local-first
All operations run in the browser — passwords, keys and files never leave your device.
Runs fully in the browser.

Use cases

🔐 API signing / auth 📨 URL param encoding 🪪 JWT / Token debug 📄 HTML template escape 🧪 Hash verification 🔑 Password / UUID gen 🖼 Base64 image debug

编码 / 解码功能说明与使用指南Encode / Decode Guide

了解编码/解码工具箱的功能、使用方法,以及常见问题解答。What the encode/decode toolbox does, how to use it, and answers to common questions.

功能说明What It Does

编码 / 解码工具箱支持 Base64、URL、Hex、HTML 实体等常用编码的一键互转,覆盖文本与文件两种输入方式。

A one-stop encode/decode toolbox for Base64, URL, Hex and HTML entities, covering both text and file input.

支持 Unicode / UTF-8 处理,可对中文等特殊字符正确编码解码。

It handles Unicode/UTF-8 properly, including Chinese and other special characters.

适合接口参数编码、Base64 图片处理、URL 转义与前端转义场景。

Great for API parameter encoding, Base64 image handling, URL escaping and frontend escaping.

多种编码集中一处,无需在多个工具间来回切换。

Multiple encodings in one place — no need to hop between tools.

适用人群Who Should Use

开发者处理接口参数、Token、Base64 数据时使用。

Developers working with API parameters, tokens and Base64 data.

安全 / 测试 / 运维需要快速转码排查问题的人群。

Security, QA and ops who need quick transcoding to troubleshoot.

技术原理How It Works

使用浏览器原生 TextEncoder、btoa / atob 及 URL 编码 API 完成各类编解码。

Uses native browser APIs — TextEncoder, btoa/atob and URL encoding — for all encode/decode operations.

文件读取通过 FileReader 在本地完成,不涉及服务器。

Files are read via FileReader locally, with no server involvement.

安全与隐私Privacy & Security

全部在浏览器本地完成,敏感数据不上传、不留存。

Everything runs locally in the browser; sensitive data is never uploaded or retained.

使用步骤How to Use

  1. 选择编码类型(Base64 / URL / Hex / HTML 实体)。Choose the encoding type.
  2. 输入文本或上传文件。Enter text or upload a file.
  3. 选择编码或解码方向。Pick the encode or decode direction.
  4. 复制结果。Copy the result.

常见问题FAQ

Q1. 支持中文编码吗?Q1. Does it support Chinese encoding?

支持,按 UTF-8 正确处理中文等 Unicode 字符。Yes, Unicode/Chinese are handled correctly via UTF-8.

Q2. 支持文件吗?Q2. Does it support files?

支持,可对文件进行 Base64 等编码解码。Yes, files can be encoded/decoded (e.g. Base64).

Q3. 数据安全吗?Q3. Is my data safe?

安全,所有处理在本地完成,不上传服务器。Safe — all local, nothing uploaded.