Toffeekit
  • Home
  • All tools513
  • Recent
  • Favorites
Categories
  • Images51
  • Video21
  • PDF33
  • AI24
  • Data21
  • SEO12
  • Developer32
  • Text27
  • Design18
  • Files13
  • Utilities5
  • Productivity17
  • Finance26
  • Math39
  • Education19
  • Date & Time29
  • Converters43
  • Fun & Random24
  • SaaS13
  • Business17
  • Social11
  • Media5
  • Security13
Buy me a coffee
ToffeekitDeveloperYAML ⇄ JSON

YAML ⇄ JSON

Convert YAML to JSON and back. Runs entirely in your browser — nothing you paste is sent anywhere.

Help
Runs locally Instant, no sign-up Works offline
How it works

How to use YAML ⇄ JSON

  1. 01Choose a Direction: YAML to JSON or JSON to YAML.
  2. 02Paste your YAML or JSON into the Input box.
  3. 03Pick an Indent of 2 or 4 spaces.
  4. 04Click Copy or Save, or press Swap to convert the result back.
Questions

YAML ⇄ JSON FAQ

6 answers to what people ask most about the YAML ⇄ JSON.

How do I convert YAML to JSON?

Set Direction to YAML to JSON and paste the YAML. The JSON appears on the right, indented with the spaces you chose, and you can save it as data.json.

Why do I get a YAML error?

The most common cause is inconsistent indentation or a tab character, because YAML only allows spaces. The message shows the first line of the parser's error to help you locate it.

Does YAML to JSON keep numbers and booleans?

Yes. Values such as 42, true and null become real JSON numbers, booleans and null. Quote a value in the YAML, for example "42", to keep it as a string.

Can I use this for Kubernetes or GitHub Actions files?

Yes, for single-document YAML. Paste the file, convert it to JSON to inspect it, or go the other way to generate YAML from a JSON config.

Why did my yes or no value become true or false?

YAML treats some plain words as booleans. Put quotes around the value if you want it kept as text.

Is YAML ⇄ JSON free and private?

Yes. It's free with no sign-up or limits, and it runs entirely in your browser, so what you type or paste never leaves your device. It works on phones and computers alike.

Something not working? Tell us and we'll fix it.

Report an issue
More tools
JSON Formatter

Format, minify and validate JSON with clear errors.

Developer
Base64 Encode / Decode

Encode text to Base64 or decode it back, UTF-8 safe.

Developer
URL Encode / Decode

Percent-encode query values or whole URLs.

Developer
HTML Entities

Escape < > & and quotes, or decode entities.

Developer
Something off with YAML ⇄ JSON? Report an issue or ask for a feature.Send feedback
© 2026 Toffeekit/Runs locally · No uploads · Free
AboutContactFeedbackPrivacyTermsCookiesSettingsllms.txt