Here are 4 free online YAML editors. YAML (Yet Another Markup Language) file is most commonly used for creating configuration files but it is helpful in many other applications to store the application data (in text form). Using these websites, you are able to add and edit the content of your YAML file.
Apart from that, these sites also help to check if the YAML data is valid. If there is some error, then the website will show that it is unable to parse it. This way, these sites work as YAML editors and validators.
These sites have some different and unique features also. You can convert YAML to JSON, add online YAML file by entering its URL, convert HTML to CSV, and more.
Let’s check these free YAML editor websites one by one.
Swagger Editor is one of the best YAML editor websites on this list. Its features are better than many other sites. You can add a YAML file and then edit it on the left section. The right section shows the output preview in real-time. Add as many changes and see the preview of output content. When the preview looks good, you can save it as YAML file directly.
It also lets you convert the input file and save it as JSON data file. Thus, it can also be used as YAML to JSON converter website.
Online YAML Tools
Online YAML Tools website brings a very simple YAML viewer and editor. It provides a box where you can paste the YAML data or add YAML file from PC. If you import YAML file from PC, it adds it as a text file. After that, if data is valid, then it will show that the file is OK. You can do further editing as per your needs. If data is not valid, it will show that it failed to parse the file. You can edit the data wherever necessary and then copy the output to PC. You can also download output as TXT file. But, to save data as YAML file, you need to manually set the file extension as YAML.
This website also lets you set other options. For example, you can show/hide line numbers, highlight bracket pairs in YAML data, and highlight active line. All such features make it a handy online YAML editor.
Code Beautify is also a useful YAML editor website. It lets you add a YAML file directly (maximum 1 MB file), paste its data, or add URL of an online YAML file. Once the data is visible, you can edit it. It also lets you check if data is valid and it was able to parse the data or not. If the data is not valid, then it also shows line numbers where the errors are available. You can then correct the errors and save the edited data to the clipboard and then create a YAML file manually.
Apart from this tool, this website brings JSON Viewer, CSV to XML, HTML to CSV, XML Viewer, Decimal to Binary Converter, and more.
YAMLlint provides a very basic YAML editor but the feature works very well. It doesn’t let you add YAML file directly. You need to copy the data and paste in the given field. Use Go button and if the data is valid, it will show Valid YAML! in the green bar. If the data is not valid, it will show the error. The error also provides line and column number so that you can access that line and column and correct the mistake.
There are no other features. When the data is valid, you can copy it and create YAML file manually. Finally, you need to create a YAML file manually. That’s all we got with this simple YAML editor website.
Though you can also use some text editor software, it won’t show if data is valid and where are the errors. Therefore, these free online YAML editors are handy. Among all these websites, I guess “Swagger Editor” is the best. Its features to edit and save output directly as YAML file, preview the output in real-time side by side, and convert YAML to JSON make it better than others.