rea-reverse

.NET assembly metadata and IL viewer

Open a .NET DLL or EXE to see its identity, target framework, references, every namespace, type and member, P/Invoke imports and resources. Click a method to disassemble its IL. Nothing is executed.

Your assembly never leaves your browser. Metadata and IL are read locally in a Web Worker that has no network access. Nothing is uploaded. How to verify this yourself

Open the tool on its own page (no ads, no analytics)

A .NET assembly is a PE file, the same container format as any Windows .exe or .dll, but it carries much more structure than a native binary. Inside is a metadata database that names every type, method and field, records which other assemblies and native libraries the code depends on, and stores each method body as CIL (Common Intermediate Language) instructions that still refer to those names. That is why so much of a managed assembly can be understood without running it and without a decompiler.

This tool reads that structure inside your browser. Choose a .dll or .exe and you get the assembly’s identity, its references, a browsable type tree, its P/Invoke declarations and its resources. Click a method and the page disassembles its IL. The file is never uploaded.

How to use

  1. Pick a managed .dll or .exe: from a build's bin folder, or the lib/<framework>/ folder of a .nupkg (a NuGet package is a ZIP file).
  2. Drop it onto the drop zone above, or press Choose a file. The metadata is parsed in your browser and the file is not uploaded.
  3. Read the Assembly block first (name, version, public key token, target framework), then the references. Type a name into Search types and members and click a method to see its IL.

Real example output

We dropped the netstandard2.0 build of Newtonsoft.Json 13.0.3 onto this page, copied the assembly summary, then searched for DeserializeObject and clicked the first method to get its IL. Layout condensed (label and value on one line, the type tree left out); every value is verbatim.

Sample: lib/netstandard2.0/Newtonsoft.Json.dll from the newtonsoft.json.13.0.3.nupkg package on nuget.org (MIT, Copyright (c) 2007 James Newton-King), SHA-256 8c1dd5c1…6b4d80 (www.nuget.org/packages/Newtonsoft.Json/13.0.3)

Assembly
Name              Newtonsoft.Json
Version           13.0.0.0
Culture           neutral
Public key token  30ad4fe6b2a6aeed
Target framework  .NETStandard,Version=v2.0
Module            Newtonsoft.Json.dll
MVID              af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657
Metadata version  v4.0.30319 (CLI 2.5)
PE                PE32 x86, 688.8 KB
Kind              Library (DLL)
CLI flags         ILONLY STRONGNAMESIGNED
Entry point       —
Contents          496 types, 4185 methods, 2196 fields

Referenced assemblies (1)
netstandard  2.0.0.0  neutral  cc7b13ffcd2ddd51

P/Invoke (DllImport) (0)
None.

8 matches
public static object DeserializeObject(string value) 0x06000066 rva 0x2b40 — Newtonsoft.Json.JsonConvert
…

// Newtonsoft.Json.JsonConvert.DeserializeObject
// object Newtonsoft.Json.JsonConvert::DeserializeObject(string)
// token 0x06000066, tiny header, 9 bytes

.maxstack 8

IL_0000: ldarg.0
IL_0001: ldnull
IL_0002: ldnull
IL_0003: call       object Newtonsoft.Json.JsonConvert::DeserializeObject(string, System.Type, Newtonsoft.Json.JsonSerializerSettings)
IL_0008: ret

What it does

Input. A .NET assembly (.dll or .exe) up to 256 MiB, for .NET Framework, .NET Core, .NET 5 and later, or .NET Standard. Each request (the report, or one method’s IL) has a 60-second time limit.

Report. The page shows:

  • Assembly identity: name, version, culture and public key token, computed from the public key the way the runtime does it. The target framework comes from the assembly-level TargetFrameworkAttribute, for example .NETCoreApp,Version=v8.0. The module name and MVID are listed too.
  • References: every referenced assembly with its version, culture and public key token, plus the native modules named by ModuleRef rows.
  • Type tree: namespaces, then types, with nested types under their enclosing type. Each type shows its kind (class, interface, struct, enum, delegate or static class), visibility, abstract and sealed, and its base type. Each field shows its type, visibility and whether it is static, const or readonly. Each method shows a C#-style signature such as int Parse(string text, ref int position), its visibility, whether it is static, virtual, abstract or P/Invoke, its metadata token and its RVA.
  • P/Invoke: every DllImport declaration with the managed method, the native DLL, the entry point name, the character set, the calling convention and SetLastError. This is the boundary between managed and native code, and often the most interesting list in the report.
  • Resources: manifest resources with their visibility. Embedded resources show their size and file offset, and the page marks those that start with the .resources signature 0xBEEFCACE. Linked resources show the file or assembly that holds them.
  • PE and CLI headers: machine (x86, x64, ARM64 and others, including the OS-specific values used by ReadyToRun images for Linux or macOS), PE32 or PE32+, DLL or executable, the section table, the CLI runtime version, the CLI flags (ILONLY, 32BITREQUIRED, STRONGNAMESIGNED and so on) and the entry point token.
  • Metadata layout: the metadata version string (such as v4.0.30319), the streams and the row count of each metadata table.
  • Image markers: a ReadyToRun marker when the image contains precompiled native code next to its IL, and a mixed-mode marker when the ILONLY flag is clear, as in C++/CLI assemblies that contain native code.
  • Warnings: a row or signature that cannot be decoded becomes a warning (up to 200) instead of stopping the whole analysis.

IL on demand. Clicking a method disassembles its body. You get the header format (tiny or fat), maxStack, whether locals are zero-initialized, the code size, the types of the local variables, and the instruction listing with IL_xxxx offsets. Operands are resolved: calls and field accesses show the member name, ldstr shows the string literal, branches and switch show their target labels. The exception-handling clauses (catch with the caught type, filter, finally, fault) are listed with their try and handler ranges. Methods without IL say why: abstract, P/Invoke, runtime-implemented or native.

How it works

The parser follows the ECMA-335 standard that defines .NET metadata. It reads the PE headers, finds the CLI header in data directory 14, maps RVAs to file offsets through the section table, and opens the metadata root (the BSJB signature). From there it reads the table stream (#~ or the uncompressed #-) and the heaps: #Strings for names, #US for string literals, #GUID and #Blob for signatures and attribute values. Type names and signatures are rendered as C#-like text, with generic parameters under their declared names.

The PE reader, metadata layout, signature grammar, opcode table and method body parsing are ported from REA 6.4.0, the open-source project by morluto (MIT). The port is tested against REA 6.4.0’s own output on the same sample assemblies.

For IL, the page reads the method header at the method’s RVA, decodes the instructions one by one with the full CIL opcode table, resolves each metadata token to a readable name, and parses the exception sections that follow fat method bodies. IL is decoded only for the method you click, so a large assembly does not have to be disassembled up front.

When there is no CLI header, the page checks for NativeAOT markers (a .managed or hydrated section, or the string DotNetRuntimeDebugHeader anywhere in the file) and tells you whether the file is a NativeAOT binary or simply a native PE.

How your file stays private

The assembly is not uploaded:

  • The viewer runs in a separate frame served from rea-reverse.com. Everything described below happens inside that frame, on your device.
  • This page shows one ad, after the article. The ad script runs on tools.rea-reverse.com; the frame is a different origin, so the browser does not let the ad script, or any other script on this page, read the assembly you drop, or the results.
  • The frame’s Content Security Policy blocks every request its scripts could make (connect-src 'none', no third-party resources at all). The frame cannot open windows or navigate this page by itself; only a link you click in the report can open a page. The only things it passes to this page are its height and the analytics events below.
  • The analysis and each IL request run in a Web Worker on your device. The worker reads the file through the browser’s file APIs and sends back only the report or the listing.
  • Analytics events are coarse: success or an error code, a coarse range for the number of types found (such as 11-100), a file-size bucket and a duration bucket. They never contain the file name, type or method names, or any other content. The frame hands them to this page, which sends them. The full list is on the privacy page.
  • Prefer no ads and no analytics at all? Open the viewer on its own page.

How to verify this yourself

  1. Open your browser’s developer tools on the Network tab and load this page. Requests to rea-reverse.com are the frame: its HTML, styles, fonts and scripts, and the worker script /_astro/dotnet-worker-*.js. Requests to Google domains are the ad on this page.
  2. Clear the log, then analyze an assembly and open some methods. Type domain:rea-reverse.com in the filter box. At most the worker script /_astro/dotnet-worker-*.js appears again (a fresh worker is prepared for the next run); no request carries your data. Ad requests may continue, but they come from this page and carry nothing from the frame.
  3. Click the dotnet-metadata/ document from rea-reverse.com and open Headers: its Content-Security-Policy has connect-src 'none', and frame-ancestors https://tools.rea-reverse.com. In Chrome, Application > Frames also shows the frame’s origin and policy. The worker runs under default-src 'none'; script-src 'self'; connect-src 'none', so the browser does not let it make any network request.
  4. Check the isolation: in the Console, with the context set to top, run document.getElementById('tool-frame').contentDocument. It returns null. frames[0].document throws a SecurityError. That is what the ad script gets too.
  5. Or load the page, go offline (turn off Wi-Fi, or tick Offline in the Network tab) and analyze a file. It still works.

Limitations

  • No decompilation to C#. The tool shows metadata and IL. It does not reconstruct C# or any other source code. Signatures look like C# only to make them easy to read.
  • NativeAOT and native PE files have no IL. A NativeAOT build compiles everything to machine code and keeps no ECMA-335 metadata, so there is nothing for this tool to show. Use a native disassembler or decompiler such as Ghidra.
  • ReadyToRun code is not shown. For ReadyToRun images the page shows the IL and the metadata, not the precompiled native code beside them. Mixed-mode assemblies likewise show only their managed part.
  • Single-file bundles must be extracted first. A published single-file app starts with a native host, which has no CLI header. Analyze the assemblies inside the bundle instead.
  • Obfuscated names stay obfuscated. Names are shown exactly as stored, cut at 1,024 characters.
  • No signature verification. STRONGNAMESIGNED is a header flag. The page does not verify strong-name or Authenticode signatures.
  • Per-method limits. IL is decoded up to 1 MiB and 200,000 instructions per method. Decoding stops at the first unknown opcode or truncated operand and says so.
  • Static only. Nothing is executed, so reflection, dynamic loading and code generated at run time are invisible.

Compliance

Analyze assemblies you built, assemblies you are authorized to examine, or open-source assemblies. Respect the licenses of the software you inspect, including any terms that restrict reverse engineering, and the laws that apply to you. The tool gives no advice on bypassing licensing or other protections. See the disclaimer.

Command-line equivalent

file already tells a .NET assembly from a native DLL (file 5.41 on macOS):

$ file Newtonsoft.Json.dll
Newtonsoft.Json.dll: PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows

A non-zero CLR Runtime Header data directory is what makes a PE file a .NET assembly (LLVM objdump, Apple LLVM 21.0.0):

$ objdump -p Newtonsoft.Json.dll | grep -E 'Magic|CLR Runtime'
Magic                   010b    (PE32)
Entry e 00002008 00000048 CLR Runtime Header

The target framework is a string argument of TargetFrameworkAttribute, so strings finds it too, without telling you which attribute it belongs to:

$ strings -a Newtonsoft.Json.dll | grep -F 'Version=v'
.NETStandard,Version=v2.0

FAQ

Is there a .NET DLL viewer online that does not upload the file?

This page. The assembly is parsed in a Web Worker in your browser and is never uploaded, unlike decompiler sites that send the DLL to a server. The Network tab of your browser's developer tools shows it.

How do I check the .NET version of a DLL?

Read Target framework in the Assembly block: it comes from the assembly's TargetFrameworkAttribute, such as .NETStandard,Version=v2.0 for Newtonsoft.Json above. Metadata version (v4.0.30319) is the metadata format and is the same for almost every assembly, so it does not tell you the framework.

Is this an online DLL decompiler?

No. It shows metadata and IL, the way ILDasm does, and does not reconstruct C#. For C# source, use a decompiler such as ILSpy, dnSpyEx or dotPeek on your own machine.

How do I tell if an EXE is .NET or native?

Drop it here: a .NET assembly shows the Assembly block, and a file without a CLI header is reported as a native PE, with a NativeAOT note when the NativeAOT markers are present. On the command line, file prints Mono/.Net assembly for managed files.

Why does a method show "no IL"?

It is abstract, a P/Invoke declaration, implemented by the runtime (as delegate Invoke methods are), or native code in a mixed-mode assembly.

Why is the public key token empty?

The assembly or reference is not strong-named. Newtonsoft.Json is strong-named, so its token 30ad4fe6b2a6aeed is shown.

Updated