URL-encode Unicode

URL-encode Unicode lets you safely encode any string into a percent-encoded or Unicode-escaped format suitable for inclusion in URLs, scripts, or data storage. It works with emoji, scripts, math symbols, and any extended Unicode.

Paste your input above or import a file below.
No file chosen
Supported file types: .txt, .log, .csv
Total characters: 0
Options
Use \\uXXXX encoding

How to Use:

  1. Paste or type text into the left box
  2. Toggle Use \uXXXX encoding to output JavaScript-style escaped codes
  3. The right box updates live with encoded output
  4. Copy, export, or clear the result as needed
  5. You can also import a .txt, .log, or .csv file

Tool Options:

  • Percent encoding: Default behavior (%XX) via encodeURIComponent()
  • Unicode escape mode: Outputs \uXXXX or \u{XXXXXX} format for all characters

Example:

Input:

α β 𝟘

Output with Unicode encoding on:

\u03B1\u0020\u03B2\u0020\u{1D7D8}

Output with Unicode encoding off:

%CE%B1%20%CE%B2%20%F0%9D%9F%98

Common Use Cases:

Use this tool to safely include extended Unicode characters in query strings, API calls, or embedded scripts. It’s also helpful for debugging URLs, encoding content in JavaScript/JSON, or building obfuscation layers for technical content.

Useful Tools & Suggestions:

If you’re cleaning up text before encoding, Replace Text is perfect for fixing or swapping out anything tricky. And once your data’s ready, Add a Suffix to Text Lines can help tag or organize each piece of the output.