YAML URL Encoder

URL-encode YAML instantly — no upload, fully private. 100% free.

Runs 100% in your browser. Your data never leaves this page.

Built for Obsidian, Hugo, Jekyll, and CI pipelines.

How to use

  1. Paste your YAML into the input box.
  2. The URL-encoded string appears on the right.
  3. Copy or download it.

Applies percent-encoding so the YAML can be passed in a URL safely.

Example

Input
name: demo
note: hello world
Output
name%3A%20demo%0Anote%3A%20hello%20world

When this works best

It encodes the whole text including newlines, so the result is one long percent-encoded string — meant for query params, not for making YAML human-readable.

How it differs from related tools

The YAML URL decoder reverses this; YAML Base64 encoder encodes to Base64 instead of percent-encoding.

Frequently asked questions

Why URL-encode YAML?

To safely include YAML in URLs or query parameters without breaking parsing.

Is it private?

Yes. Encoding runs entirely in your browser.

Should I use this for whole files?

It is meant for short configs inside URLs or query params; the result is one long percent-encoded string.

Can I decode it again?

Yes — use our YAML URL decoder.

Related converters

Learn more about YAML