🔒 Hash · Encode · Decode

Hash & Encoder Tools

Compute MD5, SHA-1, SHA-256, SHA-384, SHA-512 hashes. Encode/decode Base64, URL, HTML entities, Hex, Binary. UTF-8 safe. Drop a file to hash it directly. No upload, no signup.

Input

Output

A developer's Swiss-army knife for hashing & encoding

Every day, developers need to compute a hash, encode a Base64 string, URL-encode a value, or unescape HTML entities. The usual workflow involves jumping between several scattered sites (each plastered with ads). This page brings the most common 15 operations into a single, consistent interface.

Hachages (MD5, famille SHA)

We compute MD5, SHA-1, SHA-256, SHA-384 and SHA-512. SHA hashes use the browser's native Web Crypto API — fast and standardized. MD5 is shipped as a small in-house implementation since Web Crypto deliberately omits it (cryptographically broken since 2005, but still useful for file checksums and content addressing).

File hashing: drop any file into the input box, or click "Drop or pick a file". We read it as raw bytes and hash directly — the result will match exactly what md5sum, sha256sum and the corresponding macOS / Windows tools produce.

Base64 (compatible UTF-8)

JavaScript's built-in btoa() throws on any Unicode character above U+00FF — which means it fails on accents, emojis, kanji, anything outside Latin-1. Our encoder round-trips through a UTF-8 byte buffer, so it handles any Unicode correctly. Decoding also tolerates whitespace and the URL-safe variant (- instead of +, _ instead of /).

Encodage URL

Uses encodeURIComponent, which is the right choice for embedding values in URL path segments or query parameters. Spaces become %20, ampersands become %26, etc.

Entités HTML

Escape converts the 5 dangerous characters (&, <, >, ", ') to their entity form — handy for sanitizing user input before inserting into HTML. Unescape handles named entities (&copy;, &mdash; …), numeric (&#65;) and hexadecimal (&#x1F44B;), including non-BMP Unicode like emojis.

Hex & Binary

Converts text to a hexadecimal or binary representation of its UTF-8 bytes, and back. The decoders are forgiving — they accept spaces, line breaks and 0x prefixes for hex.

Confidentialité

Nothing is ever uploaded. Hashes, encodings and file reading all happen locally. We don't store anything, we don't log anything, we don't analyze anything — there isn't even a server component that could.

Cas d'utilisation courants

Questions Fréquentes

Quels algorithmes de hachage cet outil prend-il en charge ?
MD5, SHA-1, SHA-256, SHA-384 et SHA-512. Les hachages SHA utilisent l'API Web Crypto native du navigateur pour la vitesse et la sécurité. MD5 est fourni via une implémentation côté client.
Est-il sûr de hacher des données sensibles en ligne ?
Oui. Cet outil fonctionne entièrement dans votre navigateur — vos données ne sont jamais envoyées à un serveur. Il n'y a aucun composant backend qui pourrait stocker ou intercepter votre saisie.
Quels formats d'encodage sont disponibles ?
Encodage/décodage Base64 (compatible UTF-8), encodage/décodage URL, échappement/déséchappement d'entités HTML, encodage/décodage Hex et encodage/décodage Binaire.
Puis-je décoder un hash pour retrouver le texte original ?
Non. Les hachages cryptographiques sont des fonctions à sens unique et ne peuvent pas être inversés. Vous pouvez cependant décoder le Base64, l'encodage URL, les entités HTML, le Hex et le Binaire pour retrouver le texte original.
Cet outil est-il gratuit ?
Oui, entièrement gratuit sans limites d'utilisation, sans inscription et sans filigrane.

Outils Associés