從 Base64 解碼 → 格式化 JSON

按固定順序执行以下操作:從 Base64 解碼 → 格式化 JSON。 輸入只需提供一次,結果可直接複制或下載。

輸入: 文本結果: 文本

文本輸入

執行後查看結果

範例

A support ticket with a zero-prefixed identifier

輸入

eyJ0aWNrZXQiOiIwMDEyMyIsInByaW9yaXR5IjoiaGlnaCJ9

Expected answer

JSON
{
    "ticket": "00123",
    "priority": "high"
}
An observatory reading with a negative temperature

輸入

eyJzdGF0aW9uIjoiZGVtby1vYnNlcnZhdG9yeSIsInRlbXBlcmF0dXJlQyI6LTEyLjUsIm9wZW4iOmZhbHNlfQ==

Expected answer

JSON
{
    "station": "demo-observatory",
    "temperatureC": -12.5,
    "open": false
}
A café menu with Unicode and a decimal price

輸入

eyJpdGVtIjoiY2Fmw6kiLCJwcmljZSI6My41LCJjdXJyZW5jeSI6IkVVUiJ9

Expected answer

JSON
{
    "item": "café",
    "price": 3.5,
    "currency": "EUR"
}
A safe webhook retry policy

輸入

eyJ0aW1lb3V0TXMiOjUwMDAsInJldHJpZXMiOjIsImVuYWJsZWQiOnRydWV9

Expected answer

JSON
{
    "timeoutMs": 5000,
    "retries": 2,
    "enabled": true
}
An image manifest with a null caption

輸入

eyJ3aWR0aCI6NjQwLCJoZWlnaHQiOjQ4MCwiY2FwdGlvbiI6bnVsbH0=

Expected answer

JSON
{
    "width": 640,
    "height": 480,
    "caption": null
}
A release note with an embedded newline

輸入

eyJ2ZXJzaW9uIjoiMi4xLjAiLCJub3RlcyI6IkZpeGVkIHBhcnNlclxuQWRkZWQgdGVzdHMifQ==

Expected answer

JSON
{
    "version": "2.1.0",
    "notes": "Fixed parser\nAdded tests"
}
An empty search result

輸入

eyJyZXN1bHRzIjpbXSwidG90YWwiOjB9

Expected answer

JSON
{
    "results": [],
    "total": 0
}

結果的產生方式

  1. 從 Base64 解碼
  2. 格式化 JSON

约定與限制

Formatting does not validate a schema or verify authenticity. Very large JSON documents require enough browser memory. Do not use formatted output for signatures that depend on exact original bytes.

相关工具

程式碼整理