Convert YAML to JSON easily and conveniently without online tools. DevUtils.app allows you to quickly convert YAML to JSON right in your macOS without any internet connection.
It supports syntax highlighting and various formatting options.
You can convert YAML to JSON string from anywhere in your macOS (terminal, in email, web browser,...). Activate the app by:
- Copy text → Press ⌃⌥⌘Space(Or your own customized hotkey, up to you)
- Copy text → Click to icon in the status bar
- Select text → Right-click → "Inspect in DevUtils.app"(This menu appears after you install the app)
Your input should be a valid YAML document.
Enter your string in the input textbox. If you already have the string in your clipboard, just click the "Clipboard" button, and the tool will use the content in your clipboard as input.
The converted JSON string will be displayed in the right texbox. You can change the format based on your need:
- 2 spaces
DevUtils can also help you with a lot of other tasks: Format JSON string, decode Base64, debug your RegExp, compare text diff, and many more. Click here to learn more and give it a try!