onlinejsontools logo

Json to base64 converter

World's simplest json tool

Free online JSON to base64 encoder. Just load your JSON and it will automatically get converted to base64. Load JSON, get base64. There are no ads, popups or nonsense, just an awesome JSON to base64 encoder. Created by developers for developers.
fullscreen fullscreen_exit
Import from file
Save as...
Copy to clipboard
Can't convert.
An error has occured.
Export to Pastebin
Save as...
Copy to clipboard
Encoded base64 line length
Enable line splitting
How many characters per line
Outputs base64 without splitting
Json to base64 converter tool What is a json to base64 converter?
This tool converts JSON data to base64 encoded-data. It also lets you chunkify the encoded output. You can set how long each encoded line will be.
Json to base64 converter examples Click to use
JSON to Base64 Example
Convert a simple JSON data structure to base64.
{"hello" : "world"} eyJoZWxsbyIgOiAid29ybGQifQ==
Change base64 line lenght
Here a JSON file gets encoded to base64 and the output line length is set to 16 characters.
{"numbers": [1,2,3,4,5,6,7,8,9,10], "letters": ["a", "b", "c","...","z"] eyJudW1iZXJzIjog WzEsMiwzLDQsNSw2 LDcsOCw5LDEwXSwg ImxldHRlcnMiOiBb ImEiLCAiYiIsICJj IiwiLi4uIiwieiJd
Required options
These options will be used automatically if you select this example.
Enable line splitting
How many characters per line
Pro tips Master online json tools
You can pass input to this tool via ?input query argument and it will automatically compute output. Here's how to type it in your browser's address bar. Click to try!
https://onlinejsontools.com/convert-json-to-base64?input=%7B%22hello%22%20%3A%20%22world%22%7D
All json tools
Didn't find the tool you were looking for? Let us know what tool we are missing and we'll build it!
Quickly highlight the syntax of a JSON file.
Quickly beautify a JSON data structure.
Quickly compress a JSON file.
Quickly check JSON for errors and report them.
Quickly escape special JSON characters.
Quickly unescape an escaped JSON string.
Quickly convert a JSON data structure to an XML file.
Quickly convert an XML file to a JSON data structure.
Quickly convert a JSON data structure to a YAML file.
Quickly convert YAML markup to a JSON data structure.
Quickly convert a JSON file to a TSV file.
Quickly convert TSV data to a JSON file.
Quickly convert a JSON document to a CSV document.
Quickly convert a CSV document to a JSON document.
Quickly encode JSON to base64.
Quickly decode base64 to JSON.
Quickly convert JSON data to plain text.
Quickly edit a JSON file in a neat JSON editor in your web browser.
Coming soon These json tools are on the way
Display JSON Statistics
Display detailed information about a JSON data structure.
Flatten JSON
Loop over JSON structure and extract all values as a list.
Convert JSON to a HTML
Create a HTML table from JSON object keys and values.
Convert JSON to a LaTeX Table
Generate a LaTeX table from a JSON object.
Compare Two JSON Files
Diff JSON files and show differences visually.
URL-encode a JSON object
URL-encode a JSON data structure.