What YAML URL Decode does
Decode a percent-encoded YAML value and check that it is valid YAML.
YAML URL Decode examples
The built-in sample
Input
name%3A%20Ada%0Atags%3A%0A%20%20-%20math%0A%20%20-%20code%0Aaddress%3A%0A%20%20city%3A%20LondonOutput
name: Ada
tags:
- math
- code
address:
city: LondonThis is the input that the Load sample button fills in.
The decoded YAML is returned as written
Input
a%3A%201%0Ab%3A%0A%20%20-%20xOutput
a: 1
b:
- xThe text is checked with the YAML parser but not re-formatted, so comments and layout that were encoded are preserved.
Each output was produced by running this tool on the input above it.
How it works
The input is percent-decoded as UTF-8, as in URL Decode. The decoded text is then checked with the YAML parser, so a damaged or truncated value is reported immediately instead of being shown as if it were complete.
Details and limits
- Unlike the JSON and XML decoders, this one does not re-format the result.
- A plus sign is not turned into a space. If the value came from a form submission, replace
+with%20first, or the indentation will be wrong. - Input that is not valid percent-encoded stops the tool, and the status line shows where the problem is. The URL Decode page lists the usual causes.
Questions
Is my data uploaded when I use YAML URL Decode?
No. The tool runs in your browser, so what you paste or open is processed on your own device and is not sent to a server.
What does YAML URL Decode do?
Decode a percent-encoded YAML value and check that it is valid YAML.
How does YAML URL Decode work?
The input is percent-decoded as UTF-8, as in URL Decode. The decoded text is then checked with the YAML parser, so a damaged or truncated value is reported immediately instead of being shown as if it were complete.
Are there any limits I should know about?
Unlike the JSON and XML decoders, this one does not re-format the result. A plus sign is not turned into a space. If the value came from a form submission, replace + with %20 first, or the indentation will be wrong.
Is there a size limit?
There is no fixed size limit. Everything happens on your device, so very large inputs depend on its memory and can take longer on a phone than on a computer.
Does it work on phones, and is it free?
Yes. It works in any current browser on Android phones, iPhones, tablets and computers. It is free and needs no account or sign-up.