首页Home › 编码与加密Encoding & Crypto
🔗 Unicode 转 Data URLConvert Unicode to Data URL
把文本做成 data:text/plain;base64,... 或百分号编码的 Data URL。本地处理。可设置「编码」、「MIME」。Make a data:text/plain Base64 or percent-encoded Data URL from text. Processed locally. Settings: Encoding, MIME.
使用说明与常见问题How-to & FAQ
「Unicode 转 Data URL」是什么?What is the Convert Unicode to Data URL tool?
把文本做成 data:text/plain;base64,... 或百分号编码的 Data URL。本地处理。可设置「编码」、「MIME」。Make a data:text/plain Base64 or percent-encoded Data URL from text. Processed locally. Settings: Encoding, MIME.
如何使用「Unicode 转 Data URL」?How do I use the Convert Unicode to Data URL tool?
在「Unicode 转 Data URL」中,把内容粘贴或输入到上方输入框,按需设置「编码」、「MIME」,结果会实时显示在下方,点击「复制结果」即可复制。In the Convert Unicode to Data URL: Paste or type into the input box, adjust "Encoding", "MIME"; the result appears below instantly — click "Copy result" to copy it.
MIME 怎么填?What goes in the MIME field?
填「类型/子类型」,例如 text/plain、text/html、text/csv、application/json;留空按 text/plain。格式不对(比如有空格或缺少斜杠)会提示错误,不会生成无效的 Data URL。Use type/subtype, for example text/plain, text/html, text/csv or application/json; empty means text/plain. A malformed value (with spaces or no slash) gives an error instead of an invalid Data URL.
图片?Images?
这里只做文本 Data URL;绘图请用「Unicode 转图片」。Text Data URLs only; use Convert Unicode to Image for pictures.
输入和输出是什么样的?What does the input and output look like?
例如在「Unicode 转 Data URL」中输入 Hi,「编码」设为 Base64,输出为:data:text/plain;charset=utf-8;base64,SGk=。For example, the Convert Unicode to Data URL turns the input Hi, "Encoding" set to Base64 into: data:text/plain;charset=utf-8;base64,SGk=.
有哪些选项可以调整?What options can I adjust?
「Unicode 转 Data URL」的设置:「编码」可选 Base64、百分号编码(默认 Base64);「MIME」默认 text/plain。每次生成结果都按当前设置处理。Settings in the Convert Unicode to Data URL — "Encoding": Base64, Percent-encoded (default Base64); "MIME" default text/plain. The result always uses the current settings.
编码和加密有什么区别?Is encoding the same as encryption?
编码(如 Base64、URL 编码)可直接还原,不提供保密性;加密需要密钥。「Unicode 转 Data URL」的处理全部在本地完成。No. Encoding (Base64, URL…) is reversible by anyone; encryption needs a key. The Convert Unicode to Data URL works fully offline in your browser.
「Unicode 转 Data URL」免费吗?需要注册吗?Is the Convert Unicode to Data URL free? Do I need an account?
「Unicode 转 Data URL」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Convert Unicode to Data URL is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.