prawel.pl
Menu
All tools

Base64 and URL Encoder

Encode and decode Base64, Base64URL, and URL percent-encoding in your browser, with full UTF-8 support.

Type in either box. The other one updates.

Get the app

Visual REST Client

Developer tool · VS Code, iPhone & iPad

Visual REST Client builds Basic auth headers, query parameters, and form bodies for you, in VS Code and on iPhone.

A graphical editor and secure, cookie-aware HTTP client for .rest and .http files, built directly into VS Code.

  • REST Client compatible
  • OAuth 2.0 + PKCE
  • MIT licensed

About this tool

Base64 is used in Basic auth headers, data URLs, and email attachments. Base64URL replaces + and / with - and _ and drops padding, so it is safe in URLs and JWTs.

URL encoding escapes characters that have a meaning in URLs. Component mode escapes everything except letters, digits, and - _ . ! ~ * ' ( ), which is right for query parameter values.

Runs entirely in your browser. Nothing you enter or open is uploaded.

Questions

Why does my decoded text look garbled?
The input was probably binary data, such as an image, rather than UTF-8 text.
What is the difference between URL component and full URL encoding?
Full URL mode keeps characters such as : / ? & = so a whole address stays usable. Component mode escapes them, for use inside one parameter.