Pular para o conteudo principal
CuteJSON
↑↓ Navegar Enter Selecionar Esc Fechar

JSON URL Encoder and Decoder

Percent encode a JSON document so it survives a query string, or decode one back into the document it came from.

Voltar para todas as ferramentas

Atalhos de teclado

Estes funcionam onde a acao correspondente existe nesta pagina.

Abrir a paleta de comandos
Ctrl/Cmd + K
Executar a acao principal
Ctrl/Cmd + Enter
Formatar
Ctrl/Cmd + Shift + F
Minimizar
Ctrl/Cmd + Shift + M
Copiar saida
Ctrl/Cmd + Shift + C
Abrir arquivo
Ctrl/Cmd + Shift + O
Baixar saida
Ctrl/Cmd + S
Fechar este dialogo
Esc
Abrir este dialogo
F1 / ?

Dados locais

Tudo abaixo e armazenado apenas neste navegador, neste dispositivo. Nada e enviado a lugar nenhum, e fechar este dialogo nao e necessario para que isso continue verdade.

Rascunhos nao salvos
Ferramentas com opcoes lembradas

Arquivos abertos recentemente

    Nenhum arquivo aberto ainda neste dispositivo.

    Compartilhar via link

    O conteudo e empacotado na parte do link apos o #, que navegadores nunca enviam a um servidor.

    Compartilha a primeira entrada nesta pagina.

    Nada para compartilhar ainda.

    JSON

    Carregar de uma URL

    Busca a URL diretamente do seu navegador.

    Encoded

    O resultado aparece aqui.

    Funciona inteiramente no seu navegador.

    Sobre esta ferramenta

    A URL cannot carry a JSON document as it stands. Braces, quotes, spaces and everything above ASCII have to be percent encoded first. This encodes the way encodeURIComponent does, one UTF-8 byte at a time, leaving alone only the characters that are safe anywhere in a URL. Decoding gathers the bytes and reads them as UTF-8 once at the end, which is what stops one accent arriving as two replacement characters. The single option is the difference between a query string and a form submission: in a form a space is written as a plus sign, and everywhere else a plus sign means a literal plus. Assuming the wrong one is the most common way an encoded document arrives corrupted, so it is a toggle rather than a guess. Failures are kept apart too: a percent sign without two hexadecimal digits after it is reported at the character it sits on, and bytes that do not decode to text are reported as their own problem.

    Como usar

    1. Choose Encode or Decode, then paste your document into the left pane.
    2. Turn the plus sign option on if the text came from, or is going into, a form submission.
    3. Press Convert, then copy the result or download it as a file.