Click here to Skip to main content
15,861,168 members
Articles / Web Development
Tip/Trick

View JSON in Internet Explorer

Rate me:
Please Sign up or sign in to vote.
4.90/5 (22 votes)
21 May 2014CPOL 158K   29   13
A simple Registry change will enable IE to display JSON responses.

Need to view JSON responses in IE?

Windows Registry Editor Version 5.00;
; Tell IE 7,8,9,10,11 to open JSON documents in the browser on Windows XP and later.
; 25336920-03F9-11cf-8FD0-00AA00686F13 is the CLSID for the "Browse in place" .
;
[HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/json]
"CLSID"="{25336920-03F9-11cf-8FD0-00AA00686F13}"
"Encoding"=hex:08,00,00,00
  1. Open Notepad and paste the following:
  2. Save document as IE-Json.reg and then run it.

Note: This has been tested on Windows XP, Windows 7, and Windows 8.1 using IE 7, 8, 9, 10, 11.

Edit: Thank you to peterennis for testing in IE 10.

Edit: Thank you to all testing in the various environments.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
QuestionWorks with IE 11 and Win 10 1903 Pin
Christoph Hoppen6-Dec-19 6:12
Christoph Hoppen6-Dec-19 6:12 
QuestionTested in Win7 / IE11 and It Works! Pin
Member 1385351831-May-18 10:39
Member 1385351831-May-18 10:39 
QuestionCan you help me ? Pin
ashishgupta12125-Oct-15 5:55
ashishgupta12125-Oct-15 5:55 
QuestionIt does not work! Pin
Thornik22-May-14 8:09
Thornik22-May-14 8:09 
AnswerRe: It does not work! Pin
Takuan.Daikon19-Jun-14 18:20
Takuan.Daikon19-Jun-14 18:20 
SuggestionAdd "application/x-json" and "text/json", then it works in most situations Pin
Peter BCKR21-May-14 3:46
Peter BCKR21-May-14 3:46 
GeneralRe: Add "application/x-json" and "text/json", then it works in most situations Pin
Pong God28-Jan-15 12:33
Pong God28-Jan-15 12:33 
QuestionIE 11 Tested Pin
Hal Diggs20-May-14 10:19
professionalHal Diggs20-May-14 10:19 
QuestionIt is not working on IE 11 Pin
Zhao Jiang18-Apr-14 8:02
Zhao Jiang18-Apr-14 8:02 
GeneralIt Worked Pin
Rupesh Kumar Tiwari7-Feb-14 6:42
Rupesh Kumar Tiwari7-Feb-14 6:42 
Question5 stars Pin
PatrickMcDonald26-Oct-13 11:15
PatrickMcDonald26-Oct-13 11:15 
GeneralMy vote of 5 Pin
peterennis10-May-13 11:24
peterennis10-May-13 11:24 
GeneralReason for my vote of 5 short, to the point, and it works!!! Pin
lvaluep21-Nov-11 2:43
lvaluep21-Nov-11 2:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.