Skip to main content

Two-tool workflow

Prepare and encode compact text

Remove spaces from a sample identifier, encode it as Base64, and verify the decoded result.

Outcome: The sample AB 12 becomes AB12, then QUIxMg==. Decoding restores AB12, not the original spacing.

  1. Step 1

    Remove unneeded whitespace

    Enter AB 12. Keep Spaces enabled and Full stops disabled. Run the tool. The result is AB12.

    Use this only when the receiving system requires an identifier without spaces. Removal changes the original data.

    Open Whitespace Remover
  2. Step 2

    Encode the prepared text

    Select Encode mode. Enter AB12 without a final line break. Set Alphabet to A-Za-z0-9+/=. The result is QUIxMg==.

    Base64 increases this four-byte input to eight characters. Whitespace removal does not make Base64 a compression format.

    Open Base64 Encoder and Decoder
  3. Step 3

    Check the decoded identifier

    Select Decode mode. Paste QUIxMg== and keep the default alphabet. The result must be AB12.

    A different result can indicate changed input, a final line break, or a different alphabet.

    Open Base64 Encoder and Decoder

Before you finish

Check the result

  • Keep the original text. Decoding cannot restore removed whitespace.
  • Do not apply this whitespace step to prose, passwords, source code, or JSON strings with meaningful spaces.
  • The default removal options cover spaces, carriage returns, line feeds, tabs, and form feeds. They do not cover every Unicode separator.
  • Base64 does not encrypt data. Anyone with the value can decode it.