just type or paste the text (incl newlines) you want to encode in the orange input field below...
| encoding result | |||
| encoding style | comment | settings | encoded text (output result) |
| URI/URL encoding | to be used as an URL in browser. quotes all parameters |
encodeURIComponent encodeURI |
|
| Java String assignment | ready to be assigned as a Java String. escapes backslash and double quotes quotes and takes care of newlines. | ||
| Java append to a buffer or stream | appends it to a stream or buffer | append write | |
| Html / XML entities | replaces all critical characters like: "ä" ">" "<" a.s.o |
newline as html <br/> tags encode all chars as unicode |
|
| CamcelCase to UPPER_CASE | replaces MyTest with MY_TEST |
camel2Upper upperToCamel |
|
| To SQL (Oracle) | Encodes to an SQL/Oracle assignement | ||