This online utility is primarily intended to help people in converting or calculating strings to different modes.
Choose functions, put you text you want to convert and click "Submit" button.
You sould know available functions before you can use Online String Tools API.
Function | Name | Description |
---|---|---|
base64_encode | Base64 Encoder | Encode given string to Base64 |
urlencode | URI Encode | Encoding a string to be used in a query part of a URL. |
full_urlencode | Full Urlencode | Like URI Encode functions, but its encode all the given strings. |
html_numeric | HTML Numeric | Convert to HTML nummeric. |
jsminify | JavaScript Minify | Compress / Minify JavaScript. |
jspackerbase62 | JavaScript Base62 Packer | Base62 JavaScript compressor / packer by Dean Edwards. |
gzcompressbase64encode | Gzcompress Base64 Encode | Base64 of compressed string. |
gzdeflatebase64encode | Gzdeflate Base64 Encode | Base64 of deflated string. |
base64_decode | Base64 Decode | Decode Base64 string to plain text. |
gzinflatebase64decode | Gzinflate Base64 Decode | Inflate a deflated Base64 string. |
gzuncompressbase64decode | Gzuncompress Base64 Decode | Uncompress a compressed Base64 string. |
urldecode | URI Decode | Decodes URL-encoded string. |
ascii2hex | ASCII to HEX | ASCII text to hexadecimal converter, helps you to encode ASCII text to hex. |
hex2ascii | HEX to ASCII | Hexadecimal to ASCII converter, helps you to convert Hex to ASCII. |
hexdec | HEX to DEC | Hexadecimal to decimal converter, helps you to convert hex to decimal. |
dechex | DEC to HEX | Decimal to hexadecimal converter, helps you to convert dec to hex. |
decbin | DEC to BIN | Decimal to binary converter, helps you to convert dec to bin. |
binhex | BIN to HEX | Binary to hexadecimal converter, helps you to convert bin to hex. |
bindec | BIN to DEC | Binary to decimal converter, helps you to convert bin to dec. |
strlen | String Length | Get string length. |
uppercase | Uppercase | Returns string with all alphabetic characters converted to uppercase. |
strtolower | Lowercase | Returns string with all alphabetic characters converted to lowercase. |
devilzc0deStyle | Devilzc0de Style | Reverse words of given string. |
strrev | Reverse String | Reverse a string. |
nato | NATO Phonetic Alphabet | The International Radiotelephony Spelling Alphabet. |
Or you can fetch list of available functions via GET request to :
GET | https://www.ditatompel.com/api/string-tools |
Example results :
{ "success": 1, "status": "ok", "message": "Query success", "data": [ { "function": "base64_encode", "description": "Base64 Encode" }, { "function": "urlencode", "description": "URI Encode" }, { "function": "full_urlencode", "description": "Full Urlencode" }, [snip...] ] }
This endpoint returns a converted text.
POST | https://www.ditatompel.com/api/string-tools/[THE_FUNCTION] |
These parameters should be in the query string.
[THE_FUNCTION] | string | Required. Function you want to use from available functions above. |
string | string | Required. Param key 'string' is the string you want to convert. |
The response header includes the HTTP status code
and the content-type
. Clients that receive a status code other than HTTP 200
and content-type
other than application/json
must back-off.
HTTP 200 Content-Type: application/json
The response body includes the information of convertion status and converted string. Example of result :
{ "success": 1, "status": "ok", "message": "Query success", "data": { "input": "bravo", "function": "base64_encode", "result": "YnJhdm8=" } }
Loading...