Vai al contenuto principale
CuteJSON
↑↓ Naviga Enter Seleziona Esc Chiudi

JSON to Base64 Converter

Encode a JSON document as Base64, or decode Base64 back into JSON, with accents and emoji surviving both directions.

Torna a tutti gli strumenti

Scorciatoie da tastiera

Funzionano dove l'azione corrispondente esiste in questa pagina.

Apri la tavolozza comandi
Ctrl/Cmd + K
Esegui l'azione principale
Ctrl/Cmd + Enter
Formatta
Ctrl/Cmd + Shift + F
Minifica
Ctrl/Cmd + Shift + M
Copia output
Ctrl/Cmd + Shift + C
Apri file
Ctrl/Cmd + Shift + O
Scarica output
Ctrl/Cmd + S
Chiudi questa finestra
Esc
Apri questa finestra
F1 / ?

Dati locali

Tutto qui sotto e memorizzato solo in questo browser.

Bozze non salvate
Strumenti con opzioni ricordate

File aperti di recente

    Nessun file aperto ancora.

    Condividi via link

    Il contenuto e impacchettato nella parte dopo il #.

    Condivide la prima input in questa pagina.

    Niente da condividere ancora.

    JSON

    Carica da un URL

    Recupera l'URL dal tuo browser.

    Base64

    Il risultato appare qui.

    Funziona interamente nel tuo browser.

    Su questo strumento

    Base64 exists to carry bytes through something that only handles text, which is why it turns up in data URLs, in mail attachments, in JSON Web Tokens and in any configuration file that has to hold a document inside a string. The part browser tools usually get wrong is text that is not ASCII: the browser function for Base64 refuses anything above U+00FF, so one accent, rupee sign or emoji makes it throw. This encodes to UTF-8 bytes first, which is what every other language does, so the result matches what your server produces for the same document. Decoding accepts a data URL prefix, line breaks, and the URL safe alphabet that uses minus and underscore. It also tells three failures apart: text that is not Base64, bytes that are not text, and a decode that worked perfectly and did not produce JSON. A mode picker offers plain text and a real file alongside JSON: text mode skips the JSON check, and file mode moves raw bytes the whole way, so a photo or a PDF can become Base64, or Base64 can become a downloaded file again, without either ever needing to be valid UTF-8. A data URL toggle wraps the result with a MIME type, on any mode, for pasting straight into an img src or a CSS url().

    Come usare

    1. Choose a direction and a mode, then paste your document, your text or your Base64 into the left pane, or choose a file in file mode.
    2. Press Convert. Encoding a JSON document checks that it is valid JSON first; text and file mode encode exactly what was given.
    3. Copy the result, or download it as a file. Decoding a file offers a filename and a download instead of a text preview.