 <p>You can get the hashtable as javascript object with this snippet:</p> <pre><code>&lt;script type="text/javascript"&gt; var hashtable = @Html.Raw(Json.Encode(Model.YourHashtable) &lt;/script&gt; </code></pre> <p>After that you will be able to access your data by value:</p> <pre><code>hashtable["sample"] </code></pre>