Click here to Skip to main content
14,573,169 members

View JSON in Internet Explorer

Rate this:
4.90 (22 votes)
Please Sign up or sign in to vote.
4.90 (22 votes)
21 May 2014CPOL
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)

Share

About the Author

Coding 101
Software Developer
United States United States
No Biography provided

Comments and Discussions

 
QuestionWorks with IE 11 and Win 10 1903 Pin
Christoph Hoppen6-Dec-19 6:12
MemberChristoph Hoppen6-Dec-19 6:12 
QuestionTested in Win7 / IE11 and It Works! Pin
Member 1385351831-May-18 10:39
MemberMember 1385351831-May-18 10:39 
QuestionCan you help me ? Pin
ashishgupta12125-Oct-15 5:55
Memberashishgupta12125-Oct-15 5:55 
QuestionIt does not work! Pin
Thornik22-May-14 8:09
MemberThornik22-May-14 8:09 
AnswerRe: It does not work! Pin
Takuan.Daikon19-Jun-14 18:20
MemberTakuan.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
MemberPeter 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
MemberPong 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
MemberZhao Jiang18-Apr-14 8:02 
GeneralIt Worked Pin
Rupesh Kumar Tiwari7-Feb-14 6:42
MemberRupesh Kumar Tiwari7-Feb-14 6:42 
Question5 stars Pin
PatrickMcDonald26-Oct-13 11:15
MemberPatrickMcDonald26-Oct-13 11:15 
GeneralMy vote of 5 Pin
peterennis10-May-13 11:24
Memberpeterennis10-May-13 11:24 
GeneralReason for my vote of 5 short, to the point, and it works!!! Pin
lvaluep21-Nov-11 2:43
Memberlvaluep21-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.

Tip/Trick
Posted 25 Jun 2011

Stats

141.4K views
29 bookmarked