πŸ”— URL Encoder / Decoder

Encode special characters voor URLs en HTML entities.

Wanneer URL encoding?

URLs mogen geen spaties, special chars, of non-ASCII bevatten. Encoding zet die om:

  • Spatie β†’ %20 of +
  • & β†’ %26
  • = β†’ %3D
  • Niet-ASCII (€, Γ©, δΈ­) β†’ UTF-8 bytes als %XX%XX

HTML Entities

In HTML hebben sommige chars speciale betekenis: <, >, &. Om ze te tonen escape je: &lt;, &gt;, &amp;.