页面加载中…

Ergon Portal Home

<div style='font family:Georgia,serif;font size:34px;font weight:600;color: 26221c' DevTools Hub</div <div style='margin top:8px;color: 7a6f5f;font size:15px' 开发者对客效率工具箱 · 纯前端运行 · 暖色人文排版</div

<div style='margin bottom:10px;color: 7a5537;font size:13px;letter spacing:0.08em' 输入 JSON</div

<div style='margin bottom:10px;color: 7a5537;font size:13px;letter spacing:0.08em' 输出预览</div

<pre style='margin:0;min height:232px;white space:pre wrap;word break:break all;border:1px solid e5ddd0;border radius:4px;background: faf6ee;padding:12px;font family:Menlo,monospace;font size:12px;color: 26221c' ${jsonInput}</pre

复制结果

清空

预设示例

<div style='margin top:16px;padding:12px 14px;border:1px solid e5ddd0;border radius:4px;background: faf6ee;color: 7a6f5f;font size:13px' 输出预览实时同步左侧输入;如需美化 / 压缩 / 转义等深度格式化,可后续接入前端 JSON 引擎。</div

JSON 格式化

<div style='color: 7a5537;font size:13px;margin bottom:10px' 输入文本</div

清空输入

恢复示例

<div style='margin top:12px;color: 7a6f5f;font size:12px;line height:1.6' 编码类对上方原文实时生效;解码类请粘贴已编码的内容,下方会即时还原。</div

<div style='color: 7a5537;font size:13px;margin bottom:10px;font weight:600' Base64 编码</div

<pre style='margin:0;white space:pre wrap;word break:break all;min height:44px;font family:Menlo,monospace;font size:12px;color: 26221c' ${codecInput base64Encode}</pre

复制

<div style='color: 7a5537;font size:13px;margin bottom:10px;font weight:600' Base64 解码</div

<pre style='margin:0;white space:pre wrap;word break:break all;min height:44px;font family:Menlo,monospace;font size:12px;color: 26221c' ${codecInput base64Decode}</pre

<div style='color: 7a5537;font size:13px;margin bottom:10px;font weight:600' URL 编码</div

<pre style='margin:0;white space:pre wrap;word break:break all;min height:44px;font family:Menlo,monospace;font size:12px;color: 26221c' ${codecInput urlEncode}</pre

<div style='color: 7a5537;font size:13px;margin bottom:10px;font weight:600' URL 解码</div

<pre style='margin:0;white space:pre wrap;word break:break all;min height:44px;font family:Menlo,monospace;font size:12px;color: 26221c' ${codecInput urlDecode}</pre

Base64 & URL

<div style='color: 7a5537;font size:13px;margin bottom:10px' 粘贴 JWT</div

复制令牌

<div style='font size:13px;color: 4f6b45;line height:1.6' 检测到 <b ${jwtInput split:'.' count}</b 个片段(标准 JWT 为 3 段:Header · Payload · Signature),以下解码结果随输入实时更新。</div

<div style='color: 7a5537;font size:13px;margin bottom:10px;font weight:600' Header(Base64 解码)</div

<pre style='margin:0;white space:pre wrap;word break:break all;min height:56px;font family:Menlo,monospace;font size:12px;color: 26221c' ${jwtInput split:'.' first base64Decode}</pre

复制 Header

<div style='color: 7a5537;font size:13px;margin bottom:10px;font weight:600' Payload(Base64 解码)</div

<pre style='margin:0;white space:pre wrap;word break:break all;min height:56px;font family:Menlo,monospace;font size:12px;color: 26221c' ${SPLIT(jwtInput, '.')[1] base64Decode}</pre