Hex File Editor

Hex File Editor

Browser-local byte editing · the selected file stays on this device and is never overwritten.

1. Open a local file

Maximum 8 MiB input/output · 64 KiB per edit · 50 active changes. The preview shows 256 bytes at a time.

Choose a local file to begin.

Comments & questions

Hex File Editor

Open a local file and examine its actual bytes in 16-byte hex and printable ASCII rows. Enter a decimal or 0x offset to move through the file, then insert, replace or delete a specified byte range. Edits are made in a separate memory copy. Download the resulting binary and a JSON report recording active changes and SHA-256 hashes.

Key features

  • View 256 bytes at a time as 16-byte offset, hex and printable ASCII rows
  • Insert, replace or delete bytes at explicit decimal or 0x offsets
  • Validate byte syntax, range boundaries and file size before each edit
  • Undo up to 50 active edits while retaining the untouched original bytes
  • Download a new binary and a JSON change log with original and edited SHA-256 hashes

How to use

  1. Choose a local file up to 8 MiB; inspect its byte length and initial preview.
  2. Enter a decimal or 0x offset in the navigation field to inspect another 256-byte window.
  3. Select insert, replace or delete, enter the edit offset and required byte count and hex payload, then apply.
  4. Review the updated hex/ASCII bytes and active change log; use Undo if needed.
  5. Download the edited binary and its JSON change report with SHA-256 hashes.

Use cases

  • Patch a known byte in a small test fixture without opening a desktop hex editor
  • Compare header bytes before and after a manual binary experiment
  • Remove a short byte range from a local sample and document the exact edit
  • Prepare a reproducible offset-and-hash report for a teammate

Frequently asked questions

Does this change the file on my device?

No. The browser reads the selected file and edits a separate in-memory copy. Downloading saves a new file with .edited before its extension; the original is never overwritten by this tool.

How do offsets and replacement lengths work?

Offsets are zero-based decimal numbers or 0x hexadecimal numbers. Insert allows the position at end of file. Replace and delete require a positive byte count that fits inside the current copy. A replacement may have a different number of bytes than the removed range.

What hex syntax is accepted?

Enter complete byte pairs such as DE AD or DEADBEEF. Spaces, colons, commas, underscores and hyphens may separate groups; each group can begin with lowercase 0x. Odd digits and non-hex characters are rejected.

What are the limits?

Input and edited output are each limited to 8 MiB. Each edit may remove or insert at most 64 KiB, and up to 50 active edits can be undone. Only 256 bytes are rendered per preview page to keep navigation responsive.

What does the change report prove?

It records the current edit sequence, removed and inserted bytes, sizes, and SHA-256 hashes of the original and edited copies. A hash helps identify exact bytes but does not authenticate the file or make a patch safe to run.

Privacy

The file is read only through the browser File API and stays in this tab. Editing creates a separate memory copy; the original file is never overwritten or sent to this site or analytics. Downloads start only when you choose them.

Related Tools

Binary Protocol DesignerHash GeneratorBase64 EncoderWasm Module InspectorHreflang Matrix CheckerAST Query PlaygroundContainer Build GraphDependency Graph ExplorerSemver Range LabCron Schedule AuditorPatch Review WorkbenchSource Map ExplorerLocalization Catalog AuditorStructured Data ReviewerHTTP Archive AnalyzerWebhook Signature LabProtobuf Schema WorkbenchGraphQL Schema LabAvro Schema EvolutionLocal SQL WorkbenchSchema Form BuilderMesh Repair WorkbenchPipe Network LabRobot Arm Kinematics LabThermal Network LabBeam Response LabGear Train DesignerTolerance Stackup LabSensor Calibration FitPCB Stackup PlannerDigital Filter DesignerNetwork Reachability MapSun Shadow MapGPS Error SimulatorDigital Logic SimulatorAnalog Circuit LabMechanism Linkage LabAnalysis Mesh GeneratorOpenAPI Contract InspectorDatabase Migration PlannerDimensional Equation CheckerTruss Force LabBoolean Minimization LabControl Response LabQueueing Simulation LabGeofence Event SimulatorCoordinate Reference LabSurvey Traverse LabRaster Classification LabChoropleth Design LabMap Print ComposerRaster Reprojection LabElevation Contour MakerTerrain Viewshed LabWatershed DelineatorMap Tile PackagerText File Encoding WorkbenchFilesystem Portability AuditorSBOM License ExplorerFile Signature Auditornpm Lockfile Conflict ResolverSource Secret AuditorOffline Web Package BuilderCertificate Chain InspectorTorrent Metainfo InspectorChunked File PackagerEncrypted File VaultDuplicate File FinderArchive WorkbenchDesign Token ManagerSpacing Token DesignerResponsive Type SystemPackaging Dieline DesignerSVG Icon Sprite PackerFlex Layout PlaygroundCSS Grid PlaygroundRegex Equivalence LabMarkdown Repository AuditorLog Template MinerResponsive Layout AuditorEmail Template PreviewInternal Link GraphState Machine TesterPetri Net SimulatorGit History VisualizerCurl Request WorkbenchBinary Patch WorkbenchFile Signature WorkbenchAPI Mock SandboxSchema Column MapperEvent Log SessionizerER Diagram DesignerTime Series Gap AuditorStratified Data SplitterData Lineage DesignerDecision Tree LabData Anonymization WorkbenchData Expectation RunnerJSON Schema ValidatorBasket Pattern AnalyzerRobots Policy TesterSEO HTML AuditorAccessibility Structure AuditorSyndication Feed WorkbenchIndexNow Payload BuilderCrawl Log AnalyzerCSP Policy WorkbenchSearch Performance AnalyzerCSV Formula Risk AuditorCORS Response SimulatorCache Header LabCookie Policy InspectorWeb Vitals Trace LabSitemap Health AuditorBatch File RenamerFile Manifest VerifierFolder Space MapFolder Difference ReviewerRoute Order OptimizerGeoJSON Map EditorPolygon Overlay LabCartographic Label PlacerSpatial Table JoinGeoJSON Topology AuditorGPX Track AnalyzerTrack Privacy RedactorCSV Table JoinCSV Pivot WorkbenchScientific Data ProfilerTabular Cleaning WorkbenchRecord ReconciliationData Dictionary BuilderCanonical Graph AuditorRedirect Plan TesterHTTP response and ping reference testBrowser and System InformationJSON ↔ YAML ConverterXML ↔ JSON ConverterHTML FormatterJavaScript MinifierMock Data Generator.gitignore GeneratorLicense GeneratorUser-Agent ParserPassword Strength CheckerCode to ImageXML FormatterHTTP Status Code LookupMIME Type LookupJS & SQL String EscapeCSS Box Shadow GeneratorCSS Gradient GeneratorIndent ConverterNumber Base ConverterUnicode Escape ConverterUnicode InspectorJSON Structure DiffMarkdown Table GeneratorJSON FormatterURL EncoderSQL FormatterCron Expression GeneratorRegex TesterUUID GeneratorTimestamp ConverterJWT DecoderHTML Entity ConverterMarkdown PreviewCSS MinifierMeta Tag GeneratorJSON ↔ CSVCase ConverterImage to Base64
Explore all Dev Tools tools →Image/Media →Text/Convert →Life/Fun →