String Functions - Online String Manipulation Tools

Character Encoder / Decoder Tool

This is an encoding / decoding tool that lets you simulate character encoding problems and errors.

Here, you can simulate what happens if you encode a text file with one encoding and then decode the text with a different encoding. Try e.g. to encode the Swedish characters åäö with utf-8 and then decode them with iso-8859-1, or try to encode 明伯 (simplified Chinese meaning 'to understand') with utf-8 and decode with GB 18030. That will yield the characters: 鏄庝集, which I really can't understand.

Enter a string to encode / decode

Encode with:
Decode with:

The encoded / decoded string:

What Is A Code Page?

Code page is another name for character encoding. It consists of a table of values that describes the character set for a particular language.

Privacy Policy

String Manipulation For Programmers
For a comparison of string function notation in different programming languages such as Pascal, VB.NET, Perl, Java, C, C++, Ruby and many more, see the Wikipedia article Comparison Of Programming Languages (String Functions)

Quick Access Toolbar

Reverse A String
Calculate String Length
Word Count Tool
Count The Occurrences Of A Substring Within A String
Convert A String To Uppercase, Lowercase Or Proper Case
HTML-Encode A String
HTML-Decode A String
String To Hex Converter
Hex To String Converter
String To Binary Converter
Binary To String Converter
Decimal To Binary Converter
Binary To Decimal Converter
Decimal To Hex Converter
Hex To Decimal Converter
URL-Encode A String
URL-Decode A String
Convert Hex Values To RGB
Convert RGB Values To Hex
Base64-Encode A String
Base64-Decode A String
Character Encoder / Decoder
Character Encoding Errors Analyzer
Character Encoding Table Index