native2ascii Converter
Convert a properties file to native2ascii in your browser. Only characters outside ASCII are escaped, in the JDK's lowercase \uXXXX form.
What this native2ascii converter does
native2ascii exists so a Java properties file survives a platform whose default encoding is not UTF-8. ASCII text passes through unchanged and every other UTF-16 code unit becomes a lowercase \u escape, which is the form the JDK tool writes.
How to use it
native2ascii Converter: paste the text into the box above, and press Run to get the native2ascii text below.
Worked example
Input:
café
Output:
caf\u00e9
Why it runs in your browser
The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads text and returns native2ascii text; reloading the page discards both.
native2ascii exists so a Java properties file survives a platform whose default encoding is not UTF-8. ASCII text passes through unchanged and every other UTF-16 code unit becomes a lowercase \u escape, which is the form the JDK tool writes.
Convert a properties file to native2ascii in your browser. Only characters outside ASCII are escaped, in the JDK's lowercase \uXXXX form.
How to use it
native2ascii Converter: paste the text into the box above, and press Run to get the native2ascii text below.
Why it runs in your browser
The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads text and returns native2ascii text; reloading the page discards both.
What to Expect
Best for
- Converting text to native2ascii text when the data is already on screen.
What this tool keeps
- Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere.
Sample input
café
Sample output
caf\u00e9
Frequently asked questions
How do I use the native2ascii converter?
native2ascii Converter: paste the text into the box above, and press Run to get the native2ascii text below.
Is my input uploaded?
No. The text is parsed on this page with JavaScript and is never posted to a server.
Is there a size limit?
Yes: 5 MB per run. Larger input is refused with a message rather than freezing the tab.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.