1:"$Sreact.fragment" 2:I[1402,["619","static/chunks/619-ba102abea3e3d0e4.js","495","static/chunks/495-934e7f1966bcffc3.js","177","static/chunks/app/layout-934ea78abb2ed38c.js"],""] 3:I[2619,["619","static/chunks/619-ba102abea3e3d0e4.js","182","static/chunks/app/%5Bslug%5D/page-67147cd43da08221.js"],""] 4:I[1356,["619","static/chunks/619-ba102abea3e3d0e4.js","495","static/chunks/495-934e7f1966bcffc3.js","177","static/chunks/app/layout-934ea78abb2ed38c.js"],"Image"] 5:I[4008,["619","static/chunks/619-ba102abea3e3d0e4.js","974","static/chunks/app/page-39b9e408c80270cf.js"],"default"] 6:I[6621,["619","static/chunks/619-ba102abea3e3d0e4.js","495","static/chunks/495-934e7f1966bcffc3.js","177","static/chunks/app/layout-934ea78abb2ed38c.js"],"default"] 7:I[909,["619","static/chunks/619-ba102abea3e3d0e4.js","495","static/chunks/495-934e7f1966bcffc3.js","177","static/chunks/app/layout-934ea78abb2ed38c.js"],"default"] 8:I[9766,[],""] 9:I[8924,[],""] f:I[7150,[],""] :HL["/_next/static/css/cb35ce482af17d9a.css","style"] 0:{"P":null,"b":"L1L0eUPU9JBXqsI8shjOF","p":"","c":["","jwt-decoder-and-encoder"],"i":false,"f":[[["",{"children":[["slug","jwt-decoder-and-encoder","d"],{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/cb35ce482af17d9a.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"children":[[false,["$","$L2",null,{"async":true,"src":"https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9789622687009991","crossOrigin":"anonymous","strategy":"afterInteractive"}]],["$","header",null,{"className":"site-header","children":["$","div",null,{"className":"shell nav","children":[["$","$L3",null,{"className":"brand","href":"/","children":[["$","$L4",null,{"src":"/formatter-logo.svg","alt":"ClearFunda Formatter logo","width":46,"height":46,"priority":true}],["$","span",null,{"children":["Formatter ",["$","small",null,{"children":"by Clearfunda"}]]}]]}],["$","div",null,{"className":"nav-right","children":[["$","$L5",null,{"variant":"header"}],["$","$L6",null,{}],["$","$L7",null,{}]]}]]}]}],["$","main",null,{"className":"shell","children":["$","$L8",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L9",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"not-found","children":[["$","h1",null,{"children":"Formatter not found"}],["$","p",null,{"children":"That tool does not exist."}],["$","$L3",null,{"href":"/","children":"Browse all tools"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}],["$","footer",null,{"className":"footer shell","children":[["$","div",null,{"className":"footer-grid","children":[["$","div",null,{"className":"footer-brand","children":[["$","strong",null,{"children":"Formatter"}],["$","p",null,{"children":"by Clearfunda · Code and data formatting tools."}]]}],["$","nav",null,{"className":"footer-section","aria-label":"Information","children":[["$","strong",null,{"children":"Information"}],["$","$L3",null,{"href":"/about","children":"About Us"}],["$","$L3",null,{"href":"/contact","children":"Contact Us"}],["$","$L3",null,{"href":"/terms","children":"Terms & Conditions"}],["$","$L3",null,{"href":"/policy","children":"Privacy Policy"}]]}],["$","div",null,{"className":"footer-section","children":[["$","strong",null,{"children":"Other ClearFunda tools"}],["$","nav",null,{"className":"utility-links","aria-label":"More ClearFunda utilities","children":[["$","strong",null,{"children":"More ClearFunda utilities"}],["$","div",null,{"children":[["$","a","UnitConverter",{"href":"https://unitconverter.clearfunda.com","target":"_blank","rel":"noopener noreferrer","children":"UnitConverter"}],["$","a","Text Compare",{"href":"https://textcompare.clearfunda.com","target":"_blank","rel":"noopener noreferrer","children":"Text Compare"}],["$","a","Favicon Generator",{"href":"https://favicon.clearfunda.com","target":"_blank","rel":"noopener noreferrer","children":"Favicon Generator"}],["$","a","Password Generator",{"href":"https://passwordgen.clearfunda.com","target":"_blank","rel":"noopener noreferrer","children":"Password Generator"}],["$","a","NotePad",{"href":"https://notepad.clearfunda.com","target":"_blank","rel":"noopener noreferrer","children":"NotePad"}]]}]]}]]}],["$","div",null,{"className":"footer-section","children":[["$","strong",null,{"children":"Follow Us"}],["$","div",null,{"className":"footer-social-icons","children":[["$","a",null,{"href":"https://x.com/clearfunda1","target":"_blank","rel":"noopener noreferrer","aria-label":"X (formerly Twitter)","title":"X","children":"𝕏"}],["$","a",null,{"href":"https://www.linkedin.com/company/clearfunda/","target":"_blank","rel":"noopener noreferrer","aria-label":"LinkedIn","children":["$","svg",null,{"ref":"$undefined","xmlns":"http://www.w3.org/2000/svg","width":19,"height":19,"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":2,"strokeLinecap":"round","strokeLinejoin":"round","className":"lucide lucide-linkedin","children":[["$","path","c2jq9f",{"d":"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z"}],["$","rect","mk3on5",{"width":"4","height":"12","x":"2","y":"9"}],["$","circle","bt5ra8",{"cx":"4","cy":"4","r":"2"}],"$undefined"]}]}],["$","a",null,{"href":"https://www.facebook.com/clearfundaofficial","target":"_blank","rel":"noopener noreferrer","aria-label":"Facebook","children":["$","svg",null,{"ref":"$undefined","xmlns":"http://www.w3.org/2000/svg","width":19,"height":19,"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":2,"strokeLinecap":"round","strokeLinejoin":"round","className":"lucide lucide-facebook","children":["$La","$undefined"]}]}]]}]]}]]}],"$Lb"]}]]}]}]]}],{"children":[["slug","jwt-decoder-and-encoder","d"],"$Lc",{"children":["__PAGE__","$Ld",{},null,false]},null,false]},null,false],"$Le",false]],"m":"$undefined","G":["$f",[]],"s":false,"S":true} 11:I[4431,[],"OutletBoundary"] 13:I[5278,[],"AsyncMetadataOutlet"] 15:I[4431,[],"ViewportBoundary"] 17:I[4431,[],"MetadataBoundary"] 18:"$Sreact.suspense" a:["$","path","1jg4f8",{"d":"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z"}] b:["$","div",null,{"className":"footer-bottom","children":["© ",2026," ClearFunda. All rights reserved."]}] c:["$","$1","c",{"children":[null,["$","$L8",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L9",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}] d:["$","$1","c",{"children":["$L10",null,["$","$L11",null,{"children":["$L12",["$","$L13",null,{"promise":"$@14"}]]}]]}] e:["$","$1","h",{"children":[null,[["$","$L15",null,{"children":"$L16"}],null],["$","$L17",null,{"children":["$","div",null,{"hidden":true,"children":["$","$18",null,{"fallback":null,"children":"$L19"}]}]}]]}] 1a:I[5907,["619","static/chunks/619-ba102abea3e3d0e4.js","182","static/chunks/app/%5Bslug%5D/page-67147cd43da08221.js"],"default"] 1b:I[7500,["619","static/chunks/619-ba102abea3e3d0e4.js","182","static/chunks/app/%5Bslug%5D/page-67147cd43da08221.js"],"default"] 10:[["$","div",null,{"className":"breadcrumb","children":[["$","$L3",null,{"href":"/","children":"Home"}]," / ","Security & Encoding"," / ","JWT Decoder & Encoder"]}],["$","div",null,{"className":"workspace-layout","children":["$","$L1a",null,{}]}],["$","$L1b",null,{"placement":"belowWorkspace"}],["$","article",null,{"className":"jwt-guide","children":[["$","div",null,{"className":"guide-eyebrow","children":"LEARN WHILE YOU BUILD"}],["$","h2",null,{"children":"What is a JSON Web Token (JWT)?"}],["$","p",null,{"children":["A ",["$","strong",null,{"children":"JSON Web Token"}]," is a compact, URL-safe representation of claims exchanged between systems. JWTs are commonly used for authentication and authorization, but ",["$","strong",null,{"children":"reading a token is not the same as trusting it"}],"."]}],["$","h3",null,{"children":"The three parts of a signed JWT"}],["$","div",null,{"className":"jwt-parts","children":[["$","div",null,{"children":[["$","strong",null,{"className":"jwt-header-color","children":"1. Header"}],["$","p",null,{"children":["Describes token metadata, including the signature algorithm (",["$","code",null,{"children":"alg"}],") and type (",["$","code",null,{"children":"typ"}],")."]}]]}],["$","div",null,{"children":[["$","strong",null,{"className":"jwt-payload-color","children":"2. Payload"}],["$","p",null,{"children":["Contains claims such as ",["$","code",null,{"children":"sub"}]," (subject), ",["$","code",null,{"children":"iss"}]," (issuer), ",["$","code",null,{"children":"aud"}]," (audience), and ",["$","code",null,{"children":"exp"}]," (expiration)."]}]]}],["$","div",null,{"children":[["$","strong",null,{"className":"jwt-signature-color","children":"3. Signature"}],["$","p",null,{"children":"Enables a verifier to check that the signed content has not been changed and was signed by a trusted key."}]]}]]}],["$","h3",null,{"children":"Decoding vs. verifying"}],["$","p",null,{"children":"Decoding simply Base64URL-decodes the header and payload. Anyone can do it. Verification checks the cryptographic signature using the correct key and algorithm. Applications must also validate claims like expiration, issuer and audience, according to their requirements."}],["$","h3",null,{"children":"How to use the JWT Decoder"}],["$","ol",null,{"children":[["$","li",null,{"children":"Paste a three-part signed JWT into the encoded token field."}],["$","li",null,{"children":"Inspect the color-coded header and payload on the right."}],["$","li",null,{"children":["For supported HMAC-signed tokens, optionally enter the signing secret and click ",["$","strong",null,{"children":"Verify signature"}],"."]}],["$","li",null,{"children":"Inspect claims manually; a valid signature alone does not mean the token is authorized for your app."}]]}],["$","h3",null,{"children":"Security best practices"}],["$","ul",null,{"children":[["$","li",null,{"children":"Never include passwords, API keys or other confidential information in a JWT payload; it is normally readable, not encrypted."}],["$","li",null,{"children":["Prefer short expiry times and validate ",["$","code",null,{"children":"exp"}],", ",["$","code",null,{"children":"nbf"}],", ",["$","code",null,{"children":"iss"}],", and ",["$","code",null,{"children":"aud"}]," on the server."]}],["$","li",null,{"children":"Never accept a token’s claimed signing algorithm without applying your server’s configured algorithm and key policy."}],["$","li",null,{"children":"Do not paste live credentials into public services. ClearFunda performs JWT operations locally in your browser."}]]}],["$","p",null,{"className":"guide-reference","children":["Learn more from the ",["$","a",null,{"href":"https://www.rfc-editor.org/rfc/rfc7519","target":"_blank","rel":"noopener noreferrer","children":"JWT specification (RFC 7519)"}]," and ",["$","$L3",null,{"href":"/json","children":"JSON Formatter"}],"."]}]]}],["$","section",null,{"className":"tool-information","children":[["$","div",null,{"className":"side-card","children":[["$","h2",null,{"children":["About ","JWT Decoder & Encoder"]}],["$","p",null,{"children":"Decode JWT headers and claims, encode signed HMAC tokens, and verify HMAC, RSA, RSA-PSS and ECDSA signatures with appropriate keys in your browser."}],["$","p",null,{"children":"Input is processed locally in your browser by this formatter. Do not paste live secrets into online tools."}]]}],"$L1c"]}]] 1c:["$","div",null,{"className":"side-card","children":[["$","h2",null,{"children":"Related tools"}],["$","div",null,{"className":"related-links","children":[["$","$L3","base64-encoder-and-decoder",{"href":"/base64-encoder-and-decoder","children":["Base64 Encoder / Decoder"," →"]}],["$","$L3","url-encoder-and-decoder",{"href":"/url-encoder-and-decoder","children":["URL Encoder / Decoder"," →"]}],["$","$L3","html-entity-encoder-and-decoder",{"href":"/html-entity-encoder-and-decoder","children":["HTML Entity Encoder / Decoder"," →"]}]]}]]}] 16:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] 12:null 1d:I[622,[],"IconMark"] 14:{"metadata":[["$","title","0",{"children":"JWT Decoder & Encoder | ClearFunda Formatter"}],["$","meta","1",{"name":"description","content":"Decode JWT headers and claims, encode signed HMAC tokens, and verify HMAC, RSA, RSA-PSS and ECDSA signatures with appropriate keys in your browser."}],["$","meta","2",{"name":"robots","content":"index, follow"}],["$","link","3",{"rel":"canonical","href":"https://formatter.clearfunda.com/jwt-decoder-and-encoder"}],["$","meta","4",{"property":"og:title","content":"Formatter by Clearfunda"}],["$","meta","5",{"property":"og:description","content":"Fast, free code and data formatting tools."}],["$","meta","6",{"property":"og:url","content":"https://formatter.clearfunda.com"}],["$","meta","7",{"property":"og:site_name","content":"Formatter by Clearfunda"}],["$","meta","8",{"property":"og:image","content":"https://formatter.clearfunda.com/formatter-social.png"}],["$","meta","9",{"property":"og:image:alt","content":"ClearFunda Formatter"}],["$","meta","10",{"property":"og:type","content":"website"}],["$","meta","11",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","12",{"name":"twitter:title","content":"Formatter by Clearfunda"}],["$","meta","13",{"name":"twitter:description","content":"Fast, free code and data formatting tools."}],["$","meta","14",{"name":"twitter:image","content":"https://formatter.clearfunda.com/formatter-social.png"}],["$","meta","15",{"name":"twitter:image:alt","content":"ClearFunda Formatter"}],["$","link","16",{"rel":"icon","href":"/favicon.ico","sizes":"any"}],["$","link","17",{"rel":"icon","href":"/formatter-logo.svg","type":"image/svg+xml"}],["$","link","18",{"rel":"apple-touch-icon","href":"/apple-touch-icon.png"}],["$","$L1d","19",{}]],"error":null,"digest":"$undefined"} 19:"$14:metadata"