API Request Builder - Online Test REST Endpoints
Select HTTP method, set headers, and body. Send requests and see the full response. Lightweight Postman alternative.
UD5 Toolkit
The URLPattern API is supported in Chrome 95+, Edge 95+, and modern browsers.
Firefox and Safari may have limited support. Please use a Chromium-based browser for the full experience.
Check compatibility
Online Route Matcher & Playground — Test, debug, and experiment with URL patterns instantly
Quick Presets:
:name), wildcards (*), optional segments (?), and even regular expressions. It's particularly useful in service workers, routing libraries, and anywhere you need robust URL matching without complex regex.
new URLPattern('/users/:userId'), then call pattern.test('https://example.com/users/42') to check if it matches. Use pattern.exec(url) to extract captured groups like { userId: '42' }. This makes it perfect for client-side routing, API gateways, and service worker fetch handlers.
/blog/:year/:month/:slug is self-documenting, while the equivalent regex /blog/([^/]+)/([^/]+)/([^/]+) is harder to read. URLPattern also handles edge cases (encoding, empty segments, query strings) automatically. However, if you need extremely fine-grained matching logic beyond URL structure, regex may still be useful.
typeof URLPattern !== 'undefined' to provide fallback logic.
:name syntax in your pattern. When a URL matches, each named group captures the corresponding segment. For example, pattern /users/:userId/posts/:postId matching /users/42/posts/7 yields groups { userId: '42', postId: '7' }. You can also use regex constraints like /users/(\\d+) to ensure only digits match.
/search?:query to capture query parameters, or /page#:section to match hash fragments. You can also match full URLs including protocol and hostname: https://*.example.com/*?utm_source=:source.
* wildcard matches zero or more characters within a URL segment, while ** (not yet widely supported) would match across segments. For example, /files/*.pdf matches /files/report.pdf and /files/summary.pdf, but not /files/sub/report.pdf. To match any sub-path, you can use /files/* which matches /files/anything/here as a single wildcard segment.
new URLPattern({ pathname: '/api/*' }) to intercept API calls, or { pathname: '/images/*.webp' } to handle image caching. This makes service worker code cleaner, more maintainable, and less error-prone.
test(url) returns a simple boolean indicating whether the URL matches the pattern — perfect for quick checks. exec(url) returns a detailed result object (or null if no match) containing all matched components and captured groups. Use test() for filtering/routing decisions, and exec() when you need to extract parameters from the URL.
/dashboard/:tab, URLPattern matches the pathname portion of any URL. You can test it against full URLs (https://app.example.com/dashboard/analytics) or relative paths (/dashboard/analytics). You can also provide a base URL as the second argument to new URLPattern() for resolving relative patterns.
Select HTTP method, set headers, and body. Send requests and see the full response. Lightweight Postman alternative.
Pick a method, URL, headers, and body, then send an HTTP request directly from your browser. Debug APIs easily.
Register a periodic background sync and see the status. Schedule content updates for your PWA. API demo.
Connect an audio source to an Analyzer Node and display frequency and time‑domain data. Learn Web Audio visualization.
Register a periodic background sync with a minimum interval. See the registration state and tags. Keep content fresh.
Trigger different vibration patterns on mobile devices. Test if your phone supports haptic feedback. Simple demo.
Experiment with the experimental Prompt API and Summarization API right in your browser. See how the on‑device AI model responds. Requires Chrome with AI features enabled.
Paste text to see a live letter frequency bar chart. Helps break substitution ciphers. All local analysis.
Select color bands to decode a resistor's value, tolerance, and temperature coefficient. Essential for anyone working with electronics hardware.
Register a periodic background sync to fetch fresh data even when the tab is closed. Understand the API and limits.
Play a simple monophonic synthesizer with your keyboard. Choose waveform, attack, decay, and filter. For music fun.
Complete a series of visual pattern puzzles and get a fun estimated score. Purely for entertainment. No data collected.
Change the viewport meta tag and see how a page would render at different device widths. Understand responsive basics.
Apply lowpass, highpass, and reverb to an audio source. See frequency response. Create your own guitar pedal. All local.
Enter text and generate the corresponding Morse code audio beeps. Adjust speed and tone. Great for learning and practicing CW. No download.
Process audio faster than real‑time with OfflineAudioContext. Apply filters and export the result. Dev tool.
Hear a common bird song and choose the correct species from multiple choices. Ear training for birders.
Play a sweep from 20Hz to 20kHz. Test your speakers and your hearing. Simple and effective. Web Audio API.
Read the ambient atmospheric pressure in hPa using the Pressure Sensor API (if available). Real‑time graph.
Convert between pace (min/km, min/mile) and speed (km/h, mph). Predict race finish times for 5k, 10k, half and full marathon based on a recent split. Works offline.
Pomodoro timer with built‑in lo‑fi music playlist (synthetic). Focus and rest cycles. No copyright music; generated tones.
Zoom through the electromagnetic spectrum from radio waves to gamma rays. See wavelength, frequency, and applications. Static educational page.
Choose a base color and see its complementary, split‑complementary, triadic, and tetradic harmonies. Copy palettes. Local.
Mix multiple ambient sounds (rain, fireplace, cafe, forest) at different volumes. Create your perfect background noise. Local loops.
Play a selection of local lo‑fi tracks (embedded). Simple UI with play/pause. No copyright issues. Stay focused.
Play a collection of retro 8‑bit synth pads and leads using your keyboard. Record sequences and export as WAV. Pure Web Audio API.
Load an audio file and see its spectrogram with frequency over time. Adjust resolution and color map. Discover hidden sounds.
Create experimental glitch noises by toggling virtual circuit bend points. No real electronics harmed. Fun noise toy.
Route your microphone input through a chain of virtual effects (distortion, reverb, delay) using Web Audio API.
Mix white noise, pink noise, rain, thunder, wind, and cafe sounds. Individual volume, save presets. Relax or focus. All client‑side.