String Functions - Online String Manipulation Tools

Character Encoder / Decoder

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:

Privacy Policy

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

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)