Decodifica da Base64 → Abbellisci JSON

Esegue questa sequenza fissa: Decodifica da Base64 → Abbellisci JSON. Inserisci i dati una volta, poi copia o scarica il risultato.

Input: TestoRisultato: Testo

Inserimento di testo

Esegui per vedere il risultato

Esempi

A support ticket with a zero-prefixed identifier

Input

eyJ0aWNrZXQiOiIwMDEyMyIsInByaW9yaXR5IjoiaGlnaCJ9

Expected answer

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

Input

eyJzdGF0aW9uIjoiZGVtby1vYnNlcnZhdG9yeSIsInRlbXBlcmF0dXJlQyI6LTEyLjUsIm9wZW4iOmZhbHNlfQ==

Expected answer

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

Input

eyJpdGVtIjoiY2Fmw6kiLCJwcmljZSI6My41LCJjdXJyZW5jeSI6IkVVUiJ9

Expected answer

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

Input

eyJ0aW1lb3V0TXMiOjUwMDAsInJldHJpZXMiOjIsImVuYWJsZWQiOnRydWV9

Expected answer

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

Input

eyJ3aWR0aCI6NjQwLCJoZWlnaHQiOjQ4MCwiY2FwdGlvbiI6bnVsbH0=

Expected answer

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

Input

eyJ2ZXJzaW9uIjoiMi4xLjAiLCJub3RlcyI6IkZpeGVkIHBhcnNlclxuQWRkZWQgdGVzdHMifQ==

Expected answer

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

Input

eyJyZXN1bHRzIjpbXSwidG90YWwiOjB9

Expected answer

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

Come viene prodotto il risultato

  1. Decodifica da Base64
  2. Abbellisci JSON

Convenzioni e limiti

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.

Strumenti correlati

Riordino del codice