Category Overview

Encoding

Encoding translates text into a transport spelling and back again. The family covers the base encodings people meet in configuration and APIs — Base64, Base32, Base58 and Ascii85 — plus URL percent-encoding, Punycode and IDN labels, quoted-printable mail bodies, UUencode and XXencode, and data URLs. Each pair has a decoder beside its encoder, so a value that arrived from somewhere else can be read rather than guessed at.

A second group is about escaping text for a particular host language or file format: JavaScript, Java, C#, SQL, XML, CSS and CSV each have their own rules, and the pages apply one language's rules rather than a generic backslash. Classical ciphers and transforms sit alongside them: Morse code, ROT13 and ROT47, and the UTF-16, ASCII and native2ascii conversions that older systems still emit.

Encoding is reversible by design and is not a security control. Base64, ROT13 and Morse hide nothing from anyone who knows the scheme, and the pages say so; encryption and password hashing live in the Crypto family instead. Everything here operates on the text you paste, and no value is stored after the page returns.

What you can do

  • Encode and decode Base64, Base32, Base58 and Ascii85 text.
  • Percent-encode a URL, or convert an internationalised domain to and from Punycode.
  • Escape and unescape strings for JavaScript, Java, C#, SQL, XML, CSS or CSV.
  • Translate text to and from Morse code, or apply ROT13 and ROT47.
  • Move text between UTF-16, ASCII, native2ascii and hexadecimal spellings.
  • Wrap text as a data URL or read the text back out of one.

Every tool assigned to this category is listed here. The catalog's governance-domain filter is a different axis; to page through the same branch, use the filtered catalog.

Every Encoding tool

B

Base64 Image

Validate base64 image data URIs and read image metadata.

Encoding
Open Tool
A

AND Binary Values

AND any number of binary values at once and read the result in decimal and binary.

Encoding
Open Tool
A

Ascii85 Decoder

Decode Ascii85 online. Runs in your browser — paste the value and read the result immediately.

Encoding
Open Tool
A

Ascii85 Encoder

Encode to Ascii85 online. Runs in your browser — paste the value and read the result immediately.

Encoding
Open Tool
A

ASCII to native Converter

Decode native2ascii \uXXXX escapes back to readable text in your browser. Malformed escapes are reported rather than dropped.

Encoding
Open Tool
B

Base32 Decoder

Decode Base32 online. Runs in your browser — paste the value and read the result immediately.

Encoding
Open Tool
B

Base32 Encoder

Encode to Base32 online. Runs in your browser — paste the value and read the result immediately.

Encoding
Open Tool
B

Base58 Decoder

Decode Base58 online. Runs in your browser — paste the value and read the result immediately.

Encoding
Open Tool
B

Base58 Encoder

Encode to Base58 online. Runs in your browser — paste the value and read the result immediately.

Encoding
Open Tool
B

Base64 Decoder

Decode Base64 online. Runs in your browser — paste the value and read the result immediately.

Encoding
Open Tool
B

Base64 Encoder

Encode to Base64 online. Runs in your browser — paste the value and read the result immediately.

Encoding
Open Tool
B

Base64 to XML

Decode Base64 back to an XML document in your browser. URL-safe characters are accepted; invalid UTF-8 is reported.

Encoding
Open Tool
B

Base64 to YAML

Decode Base64 back to YAML, including the indentation and trailing newline a manifest needs to parse.

Encoding
Open Tool
C

Convert Code Points to UTF8

Create UTF-8 characters from Unicode code point values, in hex or decimal, and see the byte count.

Encoding
Open Tool
C

Count One Bits

Count the 1 bits in each pasted binary value and the total across the list.

Encoding
Open Tool
C

Count Zero Bits

Count the 0 bits in each pasted binary value and the total across the list.

Encoding
Open Tool
C

CSS Escape Converter

Escape non-ASCII text for CSS in your browser. Characters become hex escapes with the required trailing space, ready for content and selectors.

Encoding
Open Tool
C

CSS Unescape Converter

Decode CSS hex escapes back to text in your browser. One to six hex digits are accepted, with or without the terminating space.

Encoding
Open Tool
C

CSV Escape

Quote a single CSV field per RFC 4180: wrap it and double any inner quote, so a comma or newline survives.

Encoding
Open Tool
C

CSV Unescape

Turn one quoted CSV field back into its value: strip the surrounding quotes and un-double the inner ones.

Encoding
Open Tool
C

Custom Base Decoder

Decode a custom-base value back to text in your browser. The same base and alphabet are required, and an unknown digit is named.

Encoding
Open Tool
C

Custom Base Encoder

Encode text in any base from 2 to 62 with your own alphabet, in your browser. BigInt arithmetic keeps large values exact.

Encoding
Open Tool
D

Data URL to Text

Decode a data URL back to its text in your browser. Base64 and percent-encoded payloads are both accepted; a bad header is reported.

Encoding
Open Tool
C

Convert Data URL to UTF8

Decode a data URI into UTF-8 text, base64 or percent-encoded, with the byte count shown.

Encoding
Open Tool
C

C# String Escape

Turn text into a C# verbatim string literal:@"..." with doubled quotes. The idiom for paths and regex.

Encoding
Open Tool
C

C# String Unescape

Turn a C# string literal back into text. Accepts @"verbatim" with doubled quotes and a regular "escaped" literal.

Encoding
Open Tool
J

JavaScript unescape() Decoder

Decode legacy JavaScript escape() output in your browser. Both %XX bytes and %uXXXX code units are restored in one pass.

Encoding
Open Tool
J

JavaScript escape() Encoder

Apply the legacy JavaScript escape() function in your browser. Code units become %XX or %uXXXX exactly as the old API produced them.

Encoding
Open Tool
H

Hex String Converter

Encode text to hex strings or decode hex back to text.

Encoding
Open Tool
C

Convert HTML Entities to UTF8

Decode HTML entities back into UTF-8 text, named and numeric, with unknown names reported.

Encoding
Open Tool
I

IDN Decoder

Convert an IDN Domain to Unicode online, in your browser, with a real worked example.

Encoding
Open Tool
I

IDN Encoder

Convert a Domain to IDN (Punycode) online, in your browser, with a real worked example.

Encoding
Open Tool
J

Java String Escape

Escape text for a Java string literal: quotes, backslashes, control characters, and \uXXXX for non-ASCII.

Encoding
Open Tool
J

Java String Unescape

Turn Java string escapes back into text: \n, \t, \" and \uXXXX. An unknown escape is reported, not guessed.

Encoding
Open Tool
J

JavaScript to Unicode Escape

Turn text into JavaScript \uXXXX escapes in your browser. Every UTF-16 code unit is escaped, including surrogate pairs.

Encoding
Open Tool
M

Morse Code Translator

Encode text to Morse code and decode Morse back to text.

Encoding
Open Tool
M

Morse Code to Text

Decode Morse Code online. Runs in your browser — paste the value and read the result immediately.

Encoding
Open Tool
N

native2ascii Converter

Convert a properties file to native2ascii in your browser. Only characters outside ASCII are escaped, in the JDK's lowercase \uXXXX form.

Encoding
Open Tool
C

Convert Netstring to String

Read length-prefixed netstrings back into text.

Encoding
Open Tool
P

Punycode Decoder

Decode Punycode online, in your browser, with a real worked example.

Encoding
Open Tool
P

Punycode Encoder

Encode to Punycode online, in your browser, with a real worked example.

Encoding
Open Tool
Q

Quoted-Printable Decoder

Decode quoted-printable text back to UTF-8 in your browser. Soft line breaks are joined and an invalid =XX escape is reported, not guessed.

Encoding
Open Tool
Q

Quoted-Printable Encoder

Encode text as quoted-printable (RFC 2045) in your browser. Non-ASCII bytes become =XX escapes and long lines use soft breaks.

Encoding
Open Tool
R

Remove Combining Characters

Strip diacritical marks from Unicode text by decomposing it first.

Encoding
Open Tool
R

Remove Duplicate Spaces

Collapse every run of two or more spaces or tabs into one space.

Encoding
Open Tool
R

ROT13 Encode / Decode

Apply ROT13 online. Runs in your browser — paste the value and read the result immediately.

Encoding
Open Tool
R

ROT47 Encode / Decode

Apply ROT47 online. Runs in your browser — paste the value and read the result immediately.

Encoding
Open Tool
S

Shift Binary Left

Move the bits of a binary value left by a number of positions.

Encoding
Open Tool
S

Shift Binary Right

Move the bits of a binary value right, dropping the low bits.

Encoding
Open Tool
S

SQL Escape

Escape apostrophes for a SQL string literal by doubling them. Runs in your browser; nothing is uploaded.

Encoding
Open Tool
S

SQL Unescape

Turn a doubled SQL apostrophe back into one, so a value copied out of a statement reads normally again.

Encoding
Open Tool
S

String Obfuscator

Obfuscate text with a key in your browser and restore it with the same key. Keyed XOR spelled as hex; nothing is uploaded and nothing is stored.

Encoding
Open Tool
C

Convert String to Netstring

Wrap text in a netstring: byte length, colon, payload, comma.

Encoding
Open Tool
T

Text to Data URL

Turn text into a base64 data URL in your browser. Set the MIME type and paste the result into CSS, HTML or JSON.

Encoding
Open Tool
T

Text to Morse Code

Convert Text to Morse Code online. Runs in your browser — paste the value and read the result immediately.

Encoding
Open Tool
U

Unicode Escape to JavaScript

Decode JavaScript \uXXXX escapes back to text in your browser. Surrogate pairs are joined and a malformed escape is reported.

Encoding
Open Tool
C

Convert Unicode to UTF-32

Print the UTF-32 code point of every character in the text.

Encoding
Open Tool
U

UTF-16 Decoder

Decode UTF-16 Hex online. Runs in your browser — paste the value and read the result immediately.

Encoding
Open Tool
U

UTF-16 Encoder

Encode Text as UTF-16 Hex online. Runs in your browser — paste the value and read the result immediately.

Encoding
Open Tool
C

Convert UTF8 to Code Points

Extract the Unicode code points behind pasted text, one U+XXXX value per character, with byte counts.

Encoding
Open Tool
C

Convert UTF8 to Data URL

Wrap text in a data URL, base64 or percent-encoded, with the media type of your choice.

Encoding
Open Tool
C

Convert UTF8 to HTML Entities

Encode text as HTML entities, named for Latin characters and numeric for everything else.

Encoding
Open Tool
U

UUdecode

UUdecode Text online. Runs in your browser — paste the value and read the result immediately.

Encoding
Open Tool
U

UUencode

UUencode Text online. Runs in your browser — paste the value and read the result immediately.

Encoding
Open Tool
X

XML Escape

Escape XML special characters (&, <, >, quotes and apostrophes) as entities. Runs in your browser, no upload.

Encoding
Open Tool
X

XML to Base64

Encode an XML document as Base64: UTF-8 bytes first, so an accented attribute value round-trips.

Encoding
Open Tool
X

XML Unescape

Turn XML entities back into characters: named entities and numeric &#38; / &#x26; references. Runs in your browser.

Encoding
Open Tool
X

XML URL Decode

Turn a percent-encoded XML document back into readable XML. A malformed escape is reported, not dropped.

Encoding
Open Tool
X

XML URL Encode

Percent-encode an XML document so it survives a query string, a form field or a header. Nothing is uploaded.

Encoding
Open Tool
X

XXdecode Decoder

Decode XXencode back to text in your browser. Each line is checked against the published alphabet, and a bad character is named.

Encoding
Open Tool
X

XXencode Encoder

Encode text as XXencode in your browser: 45-byte lines, the +-0-9A-Za-z alphabet and a + terminator, so no backticks reach the wire.

Encoding
Open Tool
Y

YAML to Base64

Encode a YAML document as Base64 for a Kubernetes secret, a CI variable or an attachment. Nothing is uploaded.

Encoding
Open Tool
Y

YAML URL Decode

Turn a percent-encoded YAML document back into YAML, restoring indentation and line breaks exactly.

Encoding
Open Tool
Y

YAML URL Encode

Percent-encode a YAML document for a query string or a form field, with indentation and colons preserved after decoding.

Encoding
Open Tool