Pular para o conteúdo
Tool

Base64 e URL Encode

Encode and decode Base64 and URL Encode (percent encoding) online, both ways, with automatic detection of JWT, Data URI and URL parameters.

What is it

Base64 and URL Encode is a free online tool that encodes and decodes text in the two most used formats to transport data on the web. If you're not in the technical field, think of them as two different ways of packaging text so that it travels smoothly within systems, links and files.

Base64 transforms any content, such as text, a token or a file excerpt, into a sequence of letters, numbers and a few symbols, useful for embedding binary data or tokens within systems that only accept plain text. URL Encode, also called percent encoding, exchanges spaces, accents and special characters for codes such as %20, ensuring that a link continues to work correctly within a browser or an API call.

The tool works in a bidirectional way: there are two panels side by side, one for readable text and another for encoded content. When you type on either side, the other is updated automatically, without having to click separate encode and decode buttons.

An extra feature is the automatic content scanner: if the text pasted in Base64 mode is in the format of a JWT token, the type used in system authentication, or an image embedded in Base64 (Data URI), the tool identifies the pattern and notifies you on the screen, without opening or decoding the internal content of the token. In URL Encode mode, links with search parameters are automatically organized into a table with each parameter and its value, which makes long crawl URLs easier to read.

How to use

  • Choose the desired mode: Base64 or URL Encode, at the top of the tool.
  • Type or paste readable text in the left pane to see the encoded result appear on the right.
  • Or paste already encoded content into the right panel to see the decoded version appear on the left.
  • Observe the scanner warning if the content is identified as a JWT token, Base64 image or link with parameters.
  • Check the parameter table when it appears, to see each value of a URL separately.
  • Click the copy button on either side to take the result wherever you need it.

Tips

  • The Base64 generated here is the standard format (with the characters +, / and padding =), not the URL-safe variant. To use in URLs, manually change + to a hyphen and / to an underscore, removing the = from the end.
  • Base64 is not encryption: anyone can decode the content back, so don't use it to protect passwords or sensitive data.
  • The tool correctly handles accents and the ç character, so texts in Portuguese are encoded and decoded without generating strange symbols.
  • If the decode result is wrong, check if you copied the complete sequence, without cutting the beginning or end.
  • The entire process runs locally in your browser, without sending any information to external servers.

Perguntas frequentes

What is the difference between Base64 and URL Encode?

Base64 wraps any text using only letters, numbers and a few symbols, ideal for transporting data. URL Encode transforms spaces and accents into codes like %20, to be used within web links without breaking the address.

Is Base64 safe for storing passwords?

No. Base64 is not encryption: it just rearranges the text and anyone can decode it back. Use only to transport or package data, never to protect passwords or secret information.

The tool works with accents and ç?

Yes. It handles characters in UTF-8, so words with ç, ã, é and other accents are encoded and decoded correctly. This way you don't get strange symbols in the result.

Is my text sent to a server?

No. The entire process takes place within your browser, without sending anything over the internet. That's why you can use the tool even with internal or sensitive texts with peace of mind.

Why was the decode result wrong?

This usually happens when the pasted sequence is incomplete or has too many spaces and line breaks. Check if you copied the entire text and try again choosing the correct operation (Base64 or URL).

Is the generated Base64 URL-safe (Base64Url)?

No. This tool generates the standard Base64, with the characters +, / and padding = at the end. The URL-safe variant (Base64Url) replaces + with a hyphen and / with an underscore, and usually removes the padding. If you need the URL-safe version to use in a link or token, make this switch manually after encoding.

Does the scanner decode the contents of a JWT token?

Not entirely. When the text pasted in Base64 mode is in the format of a JWT (header.payload.signature), the tool only identifies and warns that it is this type of token. It does not open or show the decoded content of the header and payload, so to inspect the internal data of a JWT it is necessary to use a specific decoder for this format.

Does the tool accept file or image uploads?

No. The tool only works with text pasted or typed in the fields. It detects when the pasted text is an image in Data URI (Base64), but does not have an upload button to convert a local file directly to Base64.

Sobre este conteúdo

Escrito por:
Equipe Ferramenta Grátis

Ferramentas relacionadas

Base64 and URL Encode Free Online