Tools

Home
JSON FormatterSQL FormatterJS ValidatorMinify CSS
Merge PDFCompress PDFImage to PDF
JPG to PNGPNG to WebPCrop Image

URL Decode YAML

Decode URL-encoded YAML data back to plain YAML. Converts percent-encoded characters. 100% client-side.

Your files never leave your browser
URL-Encoded Input0 chars, 0 lines
Decoded YAML Output0 chars, 0 lines
Error:
    Ready·

    Paste URL-encoded YAML — the kind full of %3A, %20, and %0A — and get clean, readable YAML back in one click. Indentation, colons, and newlines all come through correctly, ready to copy or download as a .yaml file. And everything runs in your browser. Nothing gets uploaded.

    How It Works

    Paste Encoded YAML
    →
    Decode % Sequences
    →
    Clean YAML Output

    The decoder reads your input and converts every percent-encoded sequence back to its original character — %20 becomes a space, %3A becomes a colon, %0A becomes a newline. Plus signs get treated as spaces too, since form-encoded data uses + that way. The whole thing happens through JavaScript’s decodeURIComponent(), so nothing leaves your machine.

    Examples

    Simple Key-Value Config

    A basic app config pulled from a URL parameter.

    INPUT
    app%3A%0A%20%20name%3A%20my-service%0A%20%20port%3A%203000
    OUTPUT
    app: name: my-service port: 3000

    Docker Compose Snippet with Special Characters

    Someone shared a compose file through a web form, and the colons, slashes, and quotes all got encoded.

    INPUT
    services%3A%0A%20%20web%3A%0A%20%20%20%20image%3A%20nginx%3Alatest%0A%20%20%20%20ports%3A%0A%20%20%20%20%20%20-%20%228080%3A80%22
    OUTPUT
    services: web: image: nginx:latest ports: - "8080:80"

    Kubernetes Deployment with Nested Lists

    A k8s deployment manifest that was URL-encoded for a webhook payload. Lots of nesting and dashes.

    INPUT
    apiVersion%3A%20apps%2Fv1%0Akind%3A%20Deployment%0Ametadata%3A%0A%20%20name%3A%20api-server%0Aspec%3A%0A%20%20replicas%3A%203
    OUTPUT
    apiVersion: apps/v1 kind: Deployment metadata: name: api-server spec: replicas: 3

    Who Uses This

    👨‍💻 DevOps Engineers

    Recovering Kubernetes and Ansible configs from encoded webhook payloads or API logs.

    🔧 Backend Developers

    Decoding YAML configs passed through URL parameters in internal tools and dashboards.

    🛡️ Security Analysts

    Inspecting encoded config payloads in request logs without sending data to external services.

    🧪 QA Testers

    Reading encoded YAML test fixtures from CI pipeline URLs to verify config correctness.

    Common Mistakes

    Pasting double-encoded YAML

    If your YAML was encoded twice (e.g., %2520 instead of %20), one pass won’t fully decode it. Run the decode a second time to catch that extra layer.

    Including the query parameter name

    Don’t paste config=app%3A%20... — strip the config= prefix first. The parameter name isn’t part of your YAML and will break the output structure.

    Expecting YAML validation after decoding

    This tool only decodes URL encoding. It won’t tell you if the resulting YAML has bad indentation or syntax errors. Use a YAML validator for that step.

    Technical Details

    Frequently Asked Questions

    What is URL encoding and why does it affect YAML?

    URL encoding replaces characters like colons, spaces, and newlines with percent codes (%3A, %20, %0A). YAML relies heavily on these characters for its syntax, so an encoded YAML file is completely unreadable. Decoding reverses the process and gives you back the original formatting.

    Does this tool handle plus signs as spaces?

    Yes. In form-encoded data, + represents a space. The tool converts plus signs to spaces before running the standard percent-decode, so both encoding styles are covered.

    What happens with invalid percent-encoded sequences?

    Malformed sequences like %ZZ or a lone % at the end will trigger an error. The tool won’t partially decode — it either works fully or tells you something is wrong with the input.

    Can I use this for URL-encoded JSON or plain text too?

    Technically, yes. URL decoding doesn’t care what the underlying text format is. But the output won’t be syntax-highlighted or validated as JSON. For JSON specifically, there’s a dedicated URL Decode JSON tool that is a better fit.

    Is my data safe? Does anything get sent to a server?

    Nothing leaves your browser. The decoding runs entirely in JavaScript on your device. There are no API calls, no analytics on your input, and no server-side processing. Close the tab and it is gone.

    Share: