btc eth ltc bch dash dash XRP monero zec eth-с Litecoin TestnetLitecoin Testnet

base64 Encode/Decode

Paste your text to the left and click on `Encode` to get the base64 Encoded string to the right
Paste your base64 Encoded string to the left and click on `Decode` to get the original text
Press Clear to reset everything
Everything happens instantly, feel free to contact us in case of any problem



Base64 Uses

  • Evolution and Thunderbird use Base64 to obfuscate e-mail passwords[1]
  • Base64 can be used to transmit and store text that might otherwise cause delimiter collision
  • Base64 is often used as a quick but insecure shortcut to obscure secrets without incurring the overhead of cryptographic key management
  • Spammers use Base64 to evade basic anti-spamming tools, which often do not decode Base64 and therefore cannot detect keywords in encoded messages.
  • Base64 is used to encode character strings in LDIF files
  • Base64 is sometimes used to embed binary data in an XML file, using a syntax similar to ...... e.g. Firefox's bookmarks.html.
  • Base64 is also used when communicating with government Fiscal Signature printing devices (usually, over serial or parallel ports) to minimize the delay when transferring receipt characters for signing.
  • Base64 is used to encode binary files such as images within scripts, to avoid depending on external files.
  • Can be used to embed raw image data into a CSS property such as background-image

Wordpress Example

How To Identify Potential WordPress Hacks

WordPress can fall victim to hackers when not maintained, or when poorly developed or outdated plugins are used even though it is typically considered to be a secure and stable platform
A common methods for hackers to hide the malicious PHP code in WordPress is to base64 encode the hacked code, and then use base64 decoding and eval() to execute the code at runtime.
Fortunately base64 code is easy to spot in PHP code, and looks similar to the following: Since base64 encoding appears as a long string of random alphanumeric characters, it stands out within the PHP code. Typically, this encoding is used by a hacker to embed PHP code within WordPress to output links, redirect users to specific sites, and is worse cases, allow unauthorized access to the WordPress system and database.
While using a plugin to detect base64 injections in your code can be more effective at securing a WordPress site than relying on manual inspection, it is critically important to use an updated plugin.
Understanding how your WordPress site is designed and configured will help you to more readily identify situations in which the site is not functioning normally. It will also become easier for you to spot changes in code structure that may indicate that malicious code has been injected in to the WordPress theme.
Whenever you spot base64 encoded strings in your site, decode it using our tool to detect what it does.