RFC 6570 URL Template

Expand paths, query, and list variables according to RFC 6570 Level 1–2, without evaluating expressions or accessing the network.

Local browser processing
This page has passed the public directory check; full functionality is available after enabling JavaScript.
User Guide

How do I use RFC 6570 URL Template?

RFC 6570 URL Template processes input only in the current browser and does not upload it, connect to the internet, or write to persistent storage.

  1. Fill in the template

    Use the default /users/{id}{?fields,lang} template.

  2. Provide variables

    Enter id, a field list, and the language JSON.

  3. Expand and Review

    View the escaped result and undefined-variable errors; do not regard the result as verified URL.

Limitations and Notes

  • Only the planned Level 1–2 operators are implemented; scripts, functions, and arbitrary expressions are not supported.
  • Undefined variables, nested objects, and unsupported modifiers will cause errors.
  • The tool does not construct requests, parse remote responses, or check address reachability.

FAQ

Will it make requests?

No, the result is just a string.

How is the list expanded?

Query and path operators generate the corresponding delimiter format according to the RFC rules.

Why are special characters encoded?

Encoding prevents variable values from changing the template structure; this is the expected behavior of URL Template.

Page feedbackFound an issue or have suggestions for improvement?
Feedback features need to be used in the online version

Please enable JavaScript in the online version before submitting; local features of the current tool or example are not affected.

Go to the online version for feedback