Formatador de JSON
Formate JSON de forma legível, minifique ou verifique se é válido. Comentários, vírgulas finais e aspas simples falham. Não converte para CSV.
Converta timestamps Unix em datas e datas em timestamps, em segundos ou milissegundos.
Esta ferramenta roda no seu navegador. Dados, arquivos e valores gerados ficam neste dispositivo. Favoritos e ferramentas recentes, se você usar, guardam apenas nomes de ferramentas no armazenamento local — nunca senhas, documentos ou conteúdo de QR codes. Veja a política de privacidade.
Por enquanto, o guia detalhado desta ferramenta (como usar, exemplos e perguntas frequentes) está em inglês.
Turn Unix seconds or milliseconds into a date, or turn a date and time back into a timestamp. Use it when a log stores an epoch number and you need the clock time, or the reverse. The unit you pick is the unit that is converted, and named cities belong on the Time Zone Converter.
1710000000 seconds is 2024-03-09T16:00:00.000Z.
1710000000000 milliseconds is the same instant. Using the wrong unit produces a date centuries away.
A Unix timestamp counts time from 1 January 1970 00:00:00 UTC. Some systems store seconds; JavaScript Date uses milliseconds. This tool labels the unit you chose. If the number looks like the other unit, it warns you but still converts with your selection.
The unit you select is the unit that is converted. Milliseconds typed in as seconds are not quietly corrected. A date the browser cannot represent is rejected. Named cities and a second time zone are a different tool.
See the disclaimer for what these tools do not cover.
Formate JSON de forma legível, minifique ou verifique se é válido. Comentários, vírgulas finais e aspas simples falham. Não converte para CSV.
Gere um ou vários valores UUID v4 no navegador usando uma fonte aleatória segura.
Conte anos, meses e dias desde a data de nascimento até hoje ou uma data futura. Uma data anterior é recusada. Anos bissextos seguem o calendário.
Codifique texto em Base64 ou decodifique de volta, usando UTF-8. Qualquer pessoa pode decodificar o resultado, então não serve para esconder senha. Arquivos não são aceitos.
Codifique ou decodifique partes de URL no navegador com encodeURIComponent.
Converta cores hexadecimais de 3, 6 e 8 dígitos em RGB, RGBA e HSL no navegador.