URL Encoder / Decoder + Base64 + IDN Converter
Encode and decode URLs, convert text to and from Base64, and translate Thai domain names to Punycode — all in one place. Built for developers and marketers who work with Thai text, where naive tools mangle UTF-8 and leave broken characters. Everything runs in your browser, so your data never leaves your device. Free, no sign-up.
Example:
Uses - and _ instead of + and / and drops = padding — safe to put in a URL or filename.
Encodes UTF-8 correctly, so Thai and emoji never break.
Punycode is the ASCII form browsers use internally for non-Latin domains. Both forms open the same site.
The result will appear here
Heads up: this domain mixes scripts (e.g. Latin and Thai/Cyrillic). Look-alike characters like these are a common phishing trick — double-check it before you trust it.
Move the result into the input box to reverse the conversion
How to use
- Pick a tab: URL, Base64 or Domain (IDN).
- Paste your text, URL or domain into the input box.
- Choose the mode — for URLs, decide between encodeURIComponent, encodeURI or decode (each has a live Thai example).
- The result appears instantly on the right; click Copy to grab it.
- Use Swap to move the result back into the input and reverse the conversion.
Features
- URL encoding two ways — encodeURIComponent for single values and encodeURI for whole URLs, explained with live Thai examples
- Decoding catches malformed percent-sequences instead of silently returning garbled text
- UTF-8-safe Base64 that never breaks on Thai or emoji (unlike plain btoa)
- URL-safe Base64 toggle (- and _ instead of + and /) for tokens and filenames
- Thai domain to Punycode conversion in both directions, with a phishing look-alike warning for mixed scripts
- 100% in-browser — your text is never uploaded