Convert tab
The Convert tab allows you to perform the following tasks:
- encode/decode Base64 text;
- encode/decode Base64 images for data URLs;
- encode/decode percent-encoding (URL encoding);
- encode/decode HTML entities like
<
or>
; - decode JSON Web Tokens;
- convert Unix/JavaScript timestamps to dates and vice versa;
- convert decimal numbers to hexadecimal;
- find the number of characters and lines;
- find if the text contains Unicode characters.
The Input field shows the clipboard content by default. Aba works as a clipboard viewer, so you can open Aba's window side-by-side with a text editor and copy the text you want to decode. Aba will immediately show the decoded text, so you don't have to switch between the windows and paste it.
If you edit the text in the Input field, it won't be automatically replaced with the clipboard content anymore. You need to click the Paste button in this case.
Aba usually detects the encoding automatically, but it can be wrong for very short texts. Sometimes you may also want to double-encode, so you can choose the encoding from the drop-down in the top right corner.
Aba can convert an image from the clipboard to PNG format and encode it as a Base64 data URL. However, it's recommended to save the image in a graphics editor, run it through an image optimizer, then open this file in Aba. Graphics software allows you to adjust the number of colors and the image compression, so you can create a smaller data URL compared to pasting the image from clipboard. Transparency (alpha channel) is lost when copying/pasting an image from some applications including Firefox and XnView, but fully supported when opening/saving files.
The following image file formats are supported: PNG, JPEG, GIF, and ICO. Other file formats like WebP or AVIF/HEIF can be encoded, decoded, and viewed in binary format, but you won't be able to see the image in the Aba window.
In the status bar, Aba displays one of the following:
- ASCII only: the input text contains only printable characters from the 7-bit ASCII character set (Latin letters, digits, and basic punctuation);
- Latin-1: the text includes characters from the Latin-1 character set (accented letters for Western European languages);
- Unicode (BMP only): the text contains characters from the Basic Multilingual Plane (Unicode characters with codes below U+10000 that fit into two bytes);
- Unicode (characters outside BMP): the text contains characters that are outside the Basic Multilingual Plane, such as emojis, rare ideographs, or ancient script characters;
- Binary: the input contains C0 and C1 control codes, such as the null character, so it's most likely a binary file.
Supported encodings
Base64 encoding is specified in RFC 4648; it transforms each three UTF-8 bytes into four printable characters, making them unreadable. By default, the standard Base64 encoding is used (see section 4 of the RFC), so the last two characters of the Base64 alphabet are +
and /
. If you check the URL alphabet option (see section 5 of the RFC), these two characters will be -
and _
. The last encoded bytes are padded with the equal sign =
, which can be avoided by unchecking the Padding option.
HTML encoding encodes special characters like <
to HTML entities like <
. The following characters are encoded:
< to < > to > & to & " to " ' to '
If you check the No double option, the existing entities are not double-encoded. For example, if the text already contains <
, it's not changed to &lt;
.
By default, double quotes are encoded to "
and single quotes to '
. Encoding quotes is necessary when you insert the encoded string into an HTML attribute; for a text node, it's not mandatory, so you can choose the No quotes option.
If you choose the ' option, the double quote is encoded to the '
entity, which is supported in HTML5 and XML. By default, Aba uses '
to remain compatible with legacy Internet Explorer versions.
URL encoding encodes the URL string using the percent-encoding specified in RFC 3986, section 2.1. Reserved characters such as slashes are replaced with their ASCII codes preceded by a percent sign, for example, %2F
. Non-ASCII characters are replaced with their UTF-8 codes.
If you check the Form (+) option, spaces are replaced with plus signs instead of %20
. This encoding variation is used in the application/x-www-form-urlencoded media type.
JSON web tokens (JWT) are specified in RFC 7519. Aba does not verify the cryptographic signature or HMAC, but allows you to view the Base64-encoded JOSE header and the JWT claims set. JSON web encryption (JWE) tokens specified in RFC 7516 are not supported.
Timestamps
The Unix timestamp is the number of seconds passed since January 1, 1970. It's commonly used in C and C++ programming languages and many databases. Java and JavaScript use the number of milliseconds, not seconds, to represent time.
With Aba, you can convert these timestamps to a date in the format specified by RFC 3339 or in the Windows date and time format. The RFC 3339 timestamp is displayed in both your local timezone and UTC.
You can also copy a date/time to the clipboard, and Aba will convert it to the Unix timestamp or the Java timestamp. Many common formats are supported, for example:
RFC 3339 / ISO 8601 subset:
2025-02-23
2025-02-23T13:15:32+01:00
2025-02-23T12:15:32Z
RFC 822 with the RFC 1123 / RFC 7231 additions (used in HTTP headers and MIME headers):
Sun, 23 Feb 25 12:15 GMT
Sun, 23 Feb 2025 13:15:32 CET
23 Feb 2025 13:15:32 +0100
RFC 850 (Usenet):
Sunday, 23-Feb-2025 13:15:32 CET
Local time (today):
13:15:32
1:15 pm
Time with a timezone (today):
1:15 pm PDT
13:15 CEST
US date format (if the time is not specified, it defaults to midnight):
2/23
2/23/25
2/23/2025 1:15pm
European date format:
23.2.
23.2.25
23.2.2025 13:15
Textual format:
February 23
Feb 23
February 23, 2025 1:15pm
February 23rd, 2025
23 February
23 Feb
23 Feb 2025 13:15
This is a page from Aba Search and Replace help file.
- Welcome to Aba
- Getting started
- How-to guides
- Selecting the files to search in
- Inserting some text at the beginning of each file
- Replacing multiple lines of text
- Searching in Unicode files
- Replacing in binary files
- Performing operations with the found files
- Undoing a replacement
- Saving search parameters for further use
- Removing private data
- Adding or removing Aba from Explorer context menu
- Integrating Aba with Total Commander
- Integrating Aba with Free Commander
- Integrating Aba with Directory Opus
- Regular Expressions
- Replacement syntax
- User interface
- Command line
- Troubleshooting
- Glossary
- Version history
- Credits