---
title: "Discussion on \"Why Base64 Breaks in a Query String (The \"+\" That Turns Into a Space)\" | Hashnode"
description: "Discussion on \"Why Base64 Breaks in a Query String (The \"+\" That Turns Into a Space)\". A bug report I see in some form every few weeks: \"The Base64 value decodes fine on my machine, but when it comes back through the URL it decodes to garbage.\" Nine times out of ten, nothing is wrong wi"
url: "https://hashnode.com/posts/why-base64-breaks-in-a-query-string-the-that-turns-into-a-space/6af6c39d83a3ae4a12d0665b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Why Base64 Breaks in a Query String (The "+" That Turns Into a Space)](https://mindvsdrivetools.hashnode.dev/why-base64-breaks-in-a-query-string-the-that-turns-into-a-space?utm_source=hashnode&utm_medium=feed)

A bug report I see in some form every few weeks: "The Base64 value decodes fine on my machine, but when it comes back through the URL it decodes to garbage." Nine times out of ten, nothing is wrong wi

Nov 13 · 6 min read · mindvsdrivetools.hashnode.dev  
Read the article

-   [#base64](https://hashnode.com/tag/base64)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#python](https://hashnode.com/tag/python)
-   [#webdev](https://hashnode.com/tag/webdev)

## Written by

[Mind vs Drive](https://hashnode.com/@mindvsdrive)

@mindvsdrive

  
[View profile](https://hashnode.com/@mindvsdrive)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
