YAML URL Decode
Turn a percent-encoded YAML document back into YAML, restoring indentation and line breaks exactly.
What URL-decoding YAML does
The escapes are decoded to bytes and the bytes to UTF-8 text, which restores the indentation and the line breaks the encoder escaped. Because YAML is whitespace-sensitive, a decoder that trimmed or re-wrapped would hand you a document with a different structure than the one that went in. A malformed escape is an error with a message rather than a silent substitution.
How to use it
YAML URL Decode: paste the URL-encoded text into the box above, and press Run to get the YAML below.
Worked example
Input:
name%3A%20Ada%0Aroles%3A%0A%20%20-%20admin%0A%20%20-%20author%0Atags%3A%0A%20%20math%3A%20true%0A
Output:
name: Ada
roles:
- admin
- author
tags:
math: true
Why it runs in your browser
The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads URL-encoded text and returns YAML; reloading the page discards both.
The escapes are decoded to bytes and the bytes to UTF-8 text, which restores the indentation and the line breaks the encoder escaped. Because YAML is whitespace-sensitive, a decoder that trimmed or re-wrapped would hand you a document with a different structure than the one that went in. A malformed escape is an error with a message rather than a silent substitution.
Turn a percent-encoded YAML document back into YAML, restoring indentation and line breaks exactly.
How to use it
YAML URL Decode: paste the URL-encoded text into the box above, and press Run to get the YAML below.
Why it runs in your browser
The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads URL-encoded text and returns YAML; reloading the page discards both.
What to Expect
Best for
- Converting URL-encoded text to YAML when the data is already on screen.
What this tool keeps
- Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere.
Sample input
name%3A%20Ada%0Aroles%3A%0A%20%20-%20admin%0A%20%20-%20author%0Atags%3A%0A%20%20math%3A%20true%0A
Sample output
name: Ada roles: - admin - author tags: math: true
Frequently asked questions
How do I use the yaml url decode?
YAML URL Decode: paste the URL-encoded text into the box above, and press Run to get the YAML below.
Is my input uploaded?
No. The text is parsed on this page with JavaScript and is never posted to a server.
Is there a size limit?
Yes: 5 MB per run. Larger input is refused with a message rather than freezing the tab.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.